Documentation ¶
Index ¶
Constants ¶
View Source
const STATS_PATH string = "/stats"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtocolStats ¶
type ProtocolStats struct { Invalid map[string]map[string]int64 `json:"invalid"` Valid map[string]map[string]int64 `json:"valid"` // contains filtered or unexported fields }
func BuildProtocolStats ¶
func BuildProtocolStats() *ProtocolStats
func (*ProtocolStats) Build ¶
func (ps *ProtocolStats) Build()
func (*ProtocolStats) IncrementInvalid ¶
func (ps *ProtocolStats) IncrementInvalid(event *envelope.EventMeta, count int64)
func (*ProtocolStats) IncrementValid ¶
func (ps *ProtocolStats) IncrementValid(event *envelope.EventMeta, count int64)
Click to show internal directories.
Click to hide internal directories.