Versions in this module Expand all Collapse all v4 v4.23.2 Apr 17, 2020 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) + GetSysStats func(ctx context.Context, in *SysStatsRequest, opts ...grpc.CallOption) (*SysStatsResponse, 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) + GetSysStats func(context.Context, *SysStatsRequest) (*SysStatsResponse, error) + QueryStats func(context.Context, *QueryStatsRequest) (*QueryStatsResponse, error) + func NewStatsServer(manager feature_stats.Manager) StatsServiceServer + type SysStatsRequest struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SysStatsRequest) Descriptor() ([]byte, []int) + func (*SysStatsRequest) ProtoMessage() + func (m *SysStatsRequest) Reset() + func (m *SysStatsRequest) String() string + func (m *SysStatsRequest) XXX_DiscardUnknown() + func (m *SysStatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SysStatsRequest) XXX_Merge(src proto.Message) + func (m *SysStatsRequest) XXX_Size() int + func (m *SysStatsRequest) XXX_Unmarshal(b []byte) error + type SysStatsResponse struct + Alloc uint64 + Frees uint64 + LiveObjects uint64 + Mallocs uint64 + NumGC uint32 + NumGoroutine uint32 + PauseTotalNs uint64 + Sys uint64 + TotalAlloc uint64 + Uptime uint32 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*SysStatsResponse) Descriptor() ([]byte, []int) + func (*SysStatsResponse) ProtoMessage() + func (m *SysStatsResponse) GetAlloc() uint64 + func (m *SysStatsResponse) GetFrees() uint64 + func (m *SysStatsResponse) GetLiveObjects() uint64 + func (m *SysStatsResponse) GetMallocs() uint64 + func (m *SysStatsResponse) GetNumGC() uint32 + func (m *SysStatsResponse) GetNumGoroutine() uint32 + func (m *SysStatsResponse) GetPauseTotalNs() uint64 + func (m *SysStatsResponse) GetSys() uint64 + func (m *SysStatsResponse) GetTotalAlloc() uint64 + func (m *SysStatsResponse) GetUptime() uint32 + func (m *SysStatsResponse) Reset() + func (m *SysStatsResponse) String() string + func (m *SysStatsResponse) XXX_DiscardUnknown() + func (m *SysStatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *SysStatsResponse) XXX_Merge(src proto.Message) + func (m *SysStatsResponse) XXX_Size() int + func (m *SysStatsResponse) XXX_Unmarshal(b []byte) error + type UnimplementedStatsServiceServer struct + func (*UnimplementedStatsServiceServer) GetStats(ctx context.Context, req *GetStatsRequest) (*GetStatsResponse, error) + func (*UnimplementedStatsServiceServer) GetSysStats(ctx context.Context, req *SysStatsRequest) (*SysStatsResponse, error) + func (*UnimplementedStatsServiceServer) QueryStats(ctx context.Context, req *QueryStatsRequest) (*QueryStatsResponse, error) Other modules containing this package github.com/unifyproxy/v2ray-core