Skip to content
Permalink
5b9c3d050d
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
23 lines (19 sloc) 418 Bytes
package main
type StampedReading struct {
Timestamp int `json:"timestamp"`
Value int32 `json:"value"`
}
type Packet struct {
ID int `json:"id"`
Kind string `json:"kind"`
Message []byte `json:"message"`
}
type Metric struct {
Name string
LBound float32
UBound float32
}
type StatusUpdates struct {
Timestamp int `json:"timestamp"`
Updates map[string]int `json:"updates"`
}