Add channel
This commit is contained in:
parent
b06c5833c8
commit
e4ddf5c3b1
1 changed files with 4 additions and 3 deletions
|
@ -21,6 +21,7 @@ type Client struct {
|
||||||
httpClient http.Client
|
httpClient http.Client
|
||||||
interval time.Duration
|
interval time.Duration
|
||||||
config *config.Config
|
config *config.Config
|
||||||
|
MetricRetrieved chan bool
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewClient method initializes a new PI-Hole client.
|
// NewClient method initializes a new PI-Hole client.
|
||||||
|
|
Loading…
Reference in a new issue