Add channel

This commit is contained in:
Galorhallen 2021-12-25 22:15:41 +01:00
parent cf04392b13
commit 8d5586558c

View file

@ -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.