From fa179a9bf6614bbe719be35fd7df6b4f3a330c66 Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 11 May 2018 14:02:01 +0900 Subject: [PATCH] ing --- model/data/Metric.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 model/data/Metric.go diff --git a/model/data/Metric.go b/model/data/Metric.go new file mode 100644 index 0000000..28e4367 --- /dev/null +++ b/model/data/Metric.go @@ -0,0 +1,9 @@ +package data + +import "git.loafle.net/overflow/commons-go/core/util" + +type Metric struct { + SensorConfigID string `json:"sensorConfigID,omitempty"` + Data map[string]string `json:"data,omitempty"` + CollectDate *util.Timestamp `json:"collectDate,omitempty"` +}