Created
May 22, 2024 19:31
-
-
Save maxsei/d348354bd3a74ac775012ed8df65532d to your computer and use it in GitHub Desktop.
service types
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"time" | |
"github.com/google/uuid" | |
) | |
type ( | |
SystemDeviceInfo struct { | |
SerialNumber string | |
Path string | |
} | |
MessageIdentifyDevice struct { | |
SerialNumber string | |
Name string | |
Baud int32 | |
} | |
UserDeviceInfo struct { | |
Device uuid.UUID | |
Name string | |
Baud int32 | |
ParameterCount int32 | |
} | |
DeviceInfo struct { | |
SystemDeviceInfo | |
UserDeviceInfo | |
} | |
DeviceMetric struct { | |
Device uuid.UUID | |
Timestamp time.Time | |
Values []float64 | |
} | |
) | |
func main() {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment