mirror of
https://github.com/eko/pihole-exporter.git
synced 2024-11-21 11:05:22 +01:00
Add channel
This commit is contained in:
parent
b06c5833c8
commit
e4ddf5c3b1
@ -18,9 +18,10 @@ import (
|
||||
|
||||
// Client struct is a PI-Hole client to request an instance of a PI-Hole ad blocker.
|
||||
type Client struct {
|
||||
httpClient http.Client
|
||||
interval time.Duration
|
||||
config *config.Config
|
||||
httpClient http.Client
|
||||
interval time.Duration
|
||||
config *config.Config
|
||||
MetricRetrieved chan bool
|
||||
}
|
||||
|
||||
// NewClient method initializes a new PI-Hole client.
|
||||
|
Loading…
Reference in New Issue
Block a user