gsave/db/host.go

17 lines
273 B
Go
Raw Permalink Normal View History

2020-10-13 21:36:50 +02:00
package db
import "time"
// Host representation of a Host inside the DB.
type Host struct {
HostInfo HostInfo
Stats []Stats
}
// HostInfo a small object to represent the Host object.
type HostInfo struct {
Hostname string
DataPoints int
LastInsert time.Time
2020-10-13 21:36:50 +02:00
}