Versions in this module Expand all Collapse all v0 v0.1.1 Feb 9, 2023 v0.1.0 Jul 3, 2022 Changes in this version + type CommandCollector struct + func (c *CommandCollector) ExecuteTest() (DataPointInterface, error) + func (c *CommandCollector) GetName() string + func (c *CommandCollector) New() PluginInterface + func (c *CommandCollector) SetConfig(m map[string]string) error + func (c *CommandCollector) SetTimeout(duration time.Duration) + type DNSCollector struct + func (d *DNSCollector) ExecuteTest() (DataPointInterface, error) + func (d *DNSCollector) GetName() string + func (d *DNSCollector) New() PluginInterface + func (d *DNSCollector) SetConfig(config map[string]string) error + func (d *DNSCollector) SetTimeout(timeout time.Duration) + type DataPoint struct + func (p DataPoint) GetDelay() time.Duration + func (p DataPoint) GetResult() bool + type DataPointInterface interface + GetDelay func() time.Duration + GetResult func() bool + type PingCollector struct + func (p *PingCollector) GetName() string + func (p *PingCollector) New() PluginInterface + func (p *PingCollector) SetConfig(config map[string]string) error + func (p *PingCollector) SetTimeout(timeout time.Duration) + func (p PingCollector) ExecuteTest() (DataPointInterface, error) + type PluginConfig map[string]string + type PluginInterface interface + ExecuteTest func() (DataPointInterface, error) + GetName func() string + New func() PluginInterface + SetConfig func(map[string]string) error + SetTimeout func(time.Duration)