Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // ID from the database. ID int64 // Hostname is used in alerts. Hostname string // Interval to expect check-ins in seconds (default 60, give or take 2). Interval int // LastCheck time. LastCheck time.Time // Failed is the time failures started if status is not OK. Failed time.Time // Status of the client. Status uint8 // Acknowledgement of error status. Acknowledgement bool // Assignee of the acknowledged error. Assignee string // contains filtered or unexported fields }
Client contains fields common to all watchers.
Click to show internal directories.
Click to hide internal directories.