Versions in this module Expand all Collapse all v1 v1.10.0 Aug 28, 2020 Changes in this version + var File_v2ray_com_core_app_stats_config_proto protoreflect.FileDescriptor + type Config struct + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (x *Config) ProtoReflect() protoreflect.Message + func (x *Config) Reset() + func (x *Config) String() string + type Counter struct + func (c *Counter) Add(delta int64) int64 + func (c *Counter) Set(newValue int64) int64 + func (c *Counter) Value() int64 + type Manager struct + func NewManager(ctx context.Context, config *Config) (*Manager, error) + func (*Manager) Type() interface{} + func (m *Manager) Close() error + func (m *Manager) GetCounter(name string) stats.Counter + func (m *Manager) RegisterCounter(name string) (stats.Counter, error) + func (m *Manager) Start() error + func (m *Manager) UnregisterCounter(name string) error + func (m *Manager) Visit(visitor func(string, stats.Counter) bool) Incompatible versions in this module v3.50.2+incompatible Oct 29, 2018