Documentation ¶
Overview ¶
Package statsclient is pure Go implementation of VPP stats API client.
Index ¶
Constants ¶
View Source
const ( MinVersion = 0 MaxVersion = 1 )
Variables ¶
View Source
var ( // Debug is global variable that determines debug mode Debug = os.Getenv("DEBUG_GOVPP_STATS") != "" // Log is global logger Log = logger.New() )
Functions ¶
This section is empty.
Types ¶
type StatsClient ¶
type StatsClient struct {
// contains filtered or unexported fields
}
StatsClient is the pure Go implementation for VPP stats API.
func NewStatsClient ¶
func NewStatsClient(sockAddr string) *StatsClient
NewStatsClient returns new VPP stats API client.
func (*StatsClient) Connect ¶
func (c *StatsClient) Connect() error
func (*StatsClient) Disconnect ¶
func (c *StatsClient) Disconnect() error
Click to show internal directories.
Click to hide internal directories.