trireme-lib: Index | Files | Directories

package counterclient

import ""


Package Files

counterclient.go interfaces.go

type CounterClient Uses

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 Uses

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

NewCounterClient returns an interface CounterClient


mockcounterclientPackage mockcounterclient is a generated GoMock package.

Package counterclient imports 9 packages (graph) and is imported by 2 packages. Updated 2019-08-22. Refresh now. Tools for package owners.