counterclient

package
v10.246.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CounterClient

type CounterClient interface {
	Run(ctx context.Context) error
}

CounterClient interface provides a start function. the client is used to post counter collected

back to the master enforcer

func NewCounterClient

func NewCounterClient(cr statscollector.Collector) (CounterClient, error)

NewCounterClient returns an interface CounterClient

Directories

Path Synopsis
Package mockcounterclient is a generated GoMock package.
Package mockcounterclient is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL