Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CounterEncoding ¶
CounterEncoding is a wrapper around an Encoding that can report how many bytes sent and received and implements the monitor.Counter interface
func NewCounterEncoding ¶
func NewCounterEncoding(e Encoding) *CounterEncoding
NewCounterEncoding returns an Encoding that implements the monitor.Counter interface
func (*CounterEncoding) Values ¶
func (c *CounterEncoding) Values() map[string]float64
Values implements the monitor.Counter interface
Click to show internal directories.
Click to hide internal directories.