Documentation ¶
Index ¶
- type Pinger
- func (p *Pinger) ActiveCount() int
- func (p *Pinger) AverageDuration(name string) time.Duration
- func (p *Pinger) Callback(name string, ...)
- func (p *Pinger) ChangedCallback(name string, ...)
- func (p *Pinger) Count() int
- func (p *Pinger) GetMonitorNames() []string
- func (p *Pinger) LastCheck(name string) int64
- func (p *Pinger) LastDuration(name string) time.Duration
- func (p *Pinger) LastStatus(name string) bool
- func (p *Pinger) NewPingMonitor(name, url string, frequency int)
- func (p *Pinger) NewURLMonitor(name, url string, frequency int)
- func (p *Pinger) ResolveHost(name string) (net.IP, error)
- func (p *Pinger) StartMonitors()
- func (p *Pinger) StopMonitors()
- func (p *Pinger) TotalChecks(name string) uint64
- func (p *Pinger) TotalFails(name string) uint64
- func (p *Pinger) TotalSuccess(name string) uint64
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pinger ¶
func (*Pinger) ActiveCount ¶
func (*Pinger) ChangedCallback ¶
func (*Pinger) GetMonitorNames ¶
func (*Pinger) LastStatus ¶
func (*Pinger) NewPingMonitor ¶
func (*Pinger) NewURLMonitor ¶
func (*Pinger) StartMonitors ¶
func (p *Pinger) StartMonitors()
func (*Pinger) StopMonitors ¶
func (p *Pinger) StopMonitors()
func (*Pinger) TotalChecks ¶
func (*Pinger) TotalFails ¶
func (*Pinger) TotalSuccess ¶
Click to show internal directories.
Click to hide internal directories.