Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Watch() Stop() error }
Client is the interface which must be implemented by a watcher client.
func NewClient ¶
func NewClient(interval time.Duration, numberOfWorker int64, satellitesClient satellites.Client, storeClient store.Client) (Client, error)
NewClient returns a new watcher. To create the watcher a interval, the number of workers in the worker pool, the satellites and a store is needed.
Click to show internal directories.
Click to hide internal directories.