Add initial MQTT scrubber service scaffold
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type RawMessage struct {
|
||||
Topic string
|
||||
Payload []byte
|
||||
ReceivedAt time.Time
|
||||
}
|
||||
|
||||
type Record struct {
|
||||
Measurement string
|
||||
Tags map[string]string
|
||||
Fields map[string]any
|
||||
Timestamp time.Time
|
||||
}
|
||||
Reference in New Issue
Block a user