overflow_probes/central/api/module/probe.go

23 lines
550 B
Go
Raw Normal View History

2017-09-27 13:55:29 +00:00
package module
2017-09-27 15:03:12 +00:00
import "time"
2017-09-27 13:55:29 +00:00
const (
2017-09-29 12:30:27 +00:00
ProbeHeader_ProbeKey = "overFlow-Probe-Key"
ProbeHeader_Probe_EncryptionKey = "overFlow-Probe-EncryptionKey"
)
const (
ProbeService_Started = "ProbeService.started"
ProbeService_Stopped = "ProbeService.stopped"
ProbeService_Update = "ProbeService.update"
2017-09-27 13:55:29 +00:00
)
2017-09-27 15:03:12 +00:00
type Probe struct {
ID uint64 `json:"id"`
Description string `json:"description"`
TempProbeKey string `json:"tempProbeKey"`
CreateDate time.Time `json:"createDate"`
ProbeKey string `json:"probeKey"`
}