Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Stats collection operation types Increment = "increment" Decrement = "decrement" Replace = "replace" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelMsg ¶
type ChannelMsg struct { IsEvent bool CompMsg interface{} }
type StatsCollector ¶
type StatsCollector struct {
// contains filtered or unexported fields
}
func NewStatsCollector ¶
func NewStatsCollector(componentName string) *StatsCollector
func (*StatsCollector) Destroy ¶
func (sc *StatsCollector) Destroy()
func (*StatsCollector) Init ¶
func (sc *StatsCollector) Init()
func (*StatsCollector) PushEvents ¶
func (sc *StatsCollector) PushEvents(op string, path string, mp map[string]interface{})
func (*StatsCollector) UpdateStats ¶
func (sc *StatsCollector) UpdateStats(op string, key string, val interface{})
Click to show internal directories.
Click to hide internal directories.