Documentation ¶
Index ¶
- type Check
- type DB
- func (db *DB) AddMonitor(name, url string) error
- func (db *DB) AddStats(monitorName string, responseTime int, isUp bool, certExpiry time.Time) error
- func (db *DB) GetHistoricalStats(monitorID int, count int) ([]types.HistoricalStat, error)
- func (db *DB) GetStats(monitorName string, duration time.Duration) (types.ServiceStatus, error)
- func (db *DB) Init() error
- func (db *DB) ListMonitors() ([]types.Monitor, error)
- func (db *DB) PauseMonitor(name string) error
- func (db *DB) RemoveMonitor(name string) error
- func (db *DB) ResumeMonitor(name string) error
- type Monitor
- type MonitorState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
func (*DB) AddMonitor ¶
func (*DB) GetHistoricalStats ¶
func (*DB) PauseMonitor ¶
func (*DB) RemoveMonitor ¶
func (*DB) ResumeMonitor ¶
Click to show internal directories.
Click to hide internal directories.