Skip to content

Commit

Permalink
Add channel
Browse files Browse the repository at this point in the history
  • Loading branch information
Galorhallen committed Dec 29, 2021
1 parent cf04392 commit 8d55865
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions internal/pihole/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8d55865

Please sign in to comment.