Versions in this module Expand all Collapse all v0 v0.0.2 Jun 19, 2021 Changes in this version + func RegisterStatsServiceServer(s *grpc.Server, srv StatsServiceServer) + type Config struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Config) Descriptor() ([]byte, []int) + func (*Config) ProtoMessage() + func (m *Config) Reset() + func (m *Config) String() string + func (m *Config) XXX_DiscardUnknown() + func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Config) XXX_Merge(src proto.Message) + func (m *Config) XXX_Size() int + func (m *Config) XXX_Unmarshal(b []byte) error + type GetStatsRequest struct + Name string + Reset_ bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetStatsRequest) Descriptor() ([]byte, []int) + func (*GetStatsRequest) ProtoMessage() + func (m *GetStatsRequest) GetName() string + func (m *GetStatsRequest) GetReset_() bool + func (m *GetStatsRequest) Reset() + func (m *GetStatsRequest) String() string + func (m *GetStatsRequest) XXX_DiscardUnknown() + func (m *GetStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetStatsRequest) XXX_Merge(src proto.Message) + func (m *GetStatsRequest) XXX_Size() int + func (m *GetStatsRequest) XXX_Unmarshal(b []byte) error + type GetStatsResponse struct + Stat *Stat + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*GetStatsResponse) Descriptor() ([]byte, []int) + func (*GetStatsResponse) ProtoMessage() + func (m *GetStatsResponse) GetStat() *Stat + func (m *GetStatsResponse) Reset() + func (m *GetStatsResponse) String() string + func (m *GetStatsResponse) XXX_DiscardUnknown() + func (m *GetStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *GetStatsResponse) XXX_Merge(src proto.Message) + func (m *GetStatsResponse) XXX_Size() int + func (m *GetStatsResponse) XXX_Unmarshal(b []byte) error + type QueryStatsRequest struct + Pattern string + Reset_ bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*QueryStatsRequest) Descriptor() ([]byte, []int) + func (*QueryStatsRequest) ProtoMessage() + func (m *QueryStatsRequest) GetPattern() string + func (m *QueryStatsRequest) GetReset_() bool + func (m *QueryStatsRequest) Reset() + func (m *QueryStatsRequest) String() string + func (m *QueryStatsRequest) XXX_DiscardUnknown() + func (m *QueryStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryStatsRequest) XXX_Merge(src proto.Message) + func (m *QueryStatsRequest) XXX_Size() int + func (m *QueryStatsRequest) XXX_Unmarshal(b []byte) error + type QueryStatsResponse struct + Stat []*Stat + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*QueryStatsResponse) Descriptor() ([]byte, []int) + func (*QueryStatsResponse) ProtoMessage() + func (m *QueryStatsResponse) GetStat() []*Stat + func (m *QueryStatsResponse) Reset() + func (m *QueryStatsResponse) String() string + func (m *QueryStatsResponse) XXX_DiscardUnknown() + func (m *QueryStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryStatsResponse) XXX_Merge(src proto.Message) + func (m *QueryStatsResponse) XXX_Size() int + func (m *QueryStatsResponse) XXX_Unmarshal(b []byte) error + type Stat struct + Name string + Value int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Stat) Descriptor() ([]byte, []int) + func (*Stat) ProtoMessage() + func (m *Stat) GetName() string + func (m *Stat) GetValue() int64 + func (m *Stat) Reset() + func (m *Stat) String() string + func (m *Stat) XXX_DiscardUnknown() + func (m *Stat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Stat) XXX_Merge(src proto.Message) + func (m *Stat) XXX_Size() int + func (m *Stat) XXX_Unmarshal(b []byte) error + type StatsServiceClient interface + GetStats func(ctx context.Context, in *GetStatsRequest, opts ...grpc.CallOption) (*GetStatsResponse, error) + QueryStats func(ctx context.Context, in *QueryStatsRequest, opts ...grpc.CallOption) (*QueryStatsResponse, error) + func NewStatsServiceClient(cc *grpc.ClientConn) StatsServiceClient + type StatsServiceServer interface + GetStats func(context.Context, *GetStatsRequest) (*GetStatsResponse, error) + QueryStats func(context.Context, *QueryStatsRequest) (*QueryStatsResponse, error) + func NewStatsServer(manager feature_stats.Manager) StatsServiceServer