Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func NewCollector() *Collector
func (*Collector) Add ¶
func (c *Collector) Add(source, destination serviceidentity.ServiceIdentity, bytes, flows int)
func (*Collector) PeriodicUpload ¶
func (*Collector) RegisterNotifyTraffic ¶
func (c *Collector) RegisterNotifyTraffic(callback TrafficLevelCallbackFunc)
type TrafficLevelCallbackFunc ¶
type TrafficLevelCallbackFunc func(context.Context, TrafficLevelMap)
type TrafficLevelCounter ¶
type TrafficLevelCounter map[TrafficLevelKey][]TrafficLevelData
type TrafficLevelData ¶
type TrafficLevelKey ¶
type TrafficLevelMap ¶
type TrafficLevelMap map[TrafficLevelKey]TrafficLevelData
Click to show internal directories.
Click to hide internal directories.