ref: f79a9d09c451653ff27fb34afb5b0c71dc758a32
server/model/models.go
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
package model type MetricRequest struct { ID_client string `json:"id_client" parquet:"name=id_client, type=BYTE_ARRAY, convertedtype=UTF8"` Mtime int64 `json:"mtime" parquet:"name=mtime, type=INT64, convertedtype=TIMESTAMP_MILLIS"` Name string `json:"name" parquet:"name=name, type=BYTE_ARRAY, convertedtype=UTF8"` Value string `json:"value" parquet:"name=value, type=BYTE_ARRAY, convertedtype=UTF8"` } type EventRequest struct { ID_client string `json:"id_client" parquet:"name=id_client, type=BYTE_ARRAY, convertedtype=UTF8"` Etime int64 `json:"etime" parquet:"name=etime, type=INT64, convertedtype=TIMESTAMP_MILLIS"` Name string `json:"name" parquet:"name=name, type=BYTE_ARRAY, convertedtype=UTF8"` } type ClientInfo struct { ID string Created int64 Name string } type MetricInfo struct { ID_client string Name string Description string } |