Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // Returns latest metrics present in load Watcher cache GetLatestWatcherMetrics() (*watcher.WatcherMetrics, error) }
Watcher Client API
func NewLibraryClient ¶
func NewLibraryClient(opts watcher.MetricsProviderOpts) (Client, error)
Creates a new watcher client when using watcher as a library
func NewServiceClient ¶
Creates a new watcher client when using watcher as a service
Click to show internal directories.
Click to hide internal directories.