Versions in this module Expand all Collapse all v0 v0.0.2 Mar 11, 2024 v0.0.1 Mar 11, 2024 Changes in this version + type Kind int + const KindCurrentConns + const KindInputBytes + const KindOutputBytes + const KindTotalConns + const KindTotalErrs + type Stats struct + func (s *Stats) Add(kind Kind, n int64) + func (s *Stats) Get(kind Kind) uint64 + func (s *Stats) IsUpdated() bool + type StatsEvent struct + Client string + CurrentConns uint64 + InputBytes uint64 + Kind string + OutputBytes uint64 + Service string + TotalConns uint64 + TotalErrs uint64 + func (StatsEvent) Type() observer.EventType