Add channel

This commit is contained in:
Galorhallen 2021-12-25 22:15:41 +01:00
parent b06c5833c8
commit e4ddf5c3b1

View File

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