monitor.go 329 B

1234567891011121314151617
  1. package monitor
  2. import (
  3. "time"
  4. )
  5. // ServerInfo has the configured ID and groups and the first IP
  6. // address for the server among other 'who am I' information. The
  7. // UUID is reset on each restart.
  8. type ServerInfo struct {
  9. Version string
  10. ID string
  11. IP string
  12. UUID string
  13. Groups []string
  14. Started time.Time
  15. }