Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collector ¶
type Collector struct { Data map[labelValue]count // last fetched data // contains filtered or unexported fields }
func NewCollector ¶
func NewCollector(client *nextdns.Client, profileId string, cd *CollectorDefine) *Collector
func (Collector) Collect ¶
func (c Collector) Collect(ch chan<- prometheus.Metric)
func (Collector) Describe ¶
func (c Collector) Describe(ch chan<- *prometheus.Desc)
type CollectorDefine ¶
Click to show internal directories.
Click to hide internal directories.