Versions in this module Expand all Collapse all v1 v1.9.1 Sep 5, 2019 Changes in this version + func RegisterDebugHandler(s server.Server, hdlr DebugHandler, opts ...server.HandlerOption) error + func RegisterDebugServer(s *grpc.Server, srv DebugServer) + type DebugClient interface + Health func(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error) + Stats func(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (*StatsResponse, error) + func NewDebugClient(cc *grpc.ClientConn) DebugClient + type DebugHandler interface + Health func(context.Context, *HealthRequest, *HealthResponse) error + Stats func(context.Context, *StatsRequest, *StatsResponse) error + type DebugServer interface + Health func(context.Context, *HealthRequest) (*HealthResponse, error) + Stats func(context.Context, *StatsRequest) (*StatsResponse, error) + type DebugService interface + Health func(ctx context.Context, in *HealthRequest, opts ...client.CallOption) (*HealthResponse, error) + Stats func(ctx context.Context, in *StatsRequest, opts ...client.CallOption) (*StatsResponse, error) + func NewDebugService(name string, c client.Client) DebugService + type HealthRequest struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*HealthRequest) Descriptor() ([]byte, []int) + func (*HealthRequest) ProtoMessage() + func (m *HealthRequest) Reset() + func (m *HealthRequest) String() string + func (m *HealthRequest) XXX_DiscardUnknown() + func (m *HealthRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *HealthRequest) XXX_Merge(src proto.Message) + func (m *HealthRequest) XXX_Size() int + func (m *HealthRequest) XXX_Unmarshal(b []byte) error + type HealthResponse struct + Status string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*HealthResponse) Descriptor() ([]byte, []int) + func (*HealthResponse) ProtoMessage() + func (m *HealthResponse) GetStatus() string + func (m *HealthResponse) Reset() + func (m *HealthResponse) String() string + func (m *HealthResponse) XXX_DiscardUnknown() + func (m *HealthResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *HealthResponse) XXX_Merge(src proto.Message) + func (m *HealthResponse) XXX_Size() int + func (m *HealthResponse) XXX_Unmarshal(b []byte) error + type StatsRequest struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*StatsRequest) Descriptor() ([]byte, []int) + func (*StatsRequest) ProtoMessage() + func (m *StatsRequest) Reset() + func (m *StatsRequest) String() string + func (m *StatsRequest) XXX_DiscardUnknown() + func (m *StatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StatsRequest) XXX_Merge(src proto.Message) + func (m *StatsRequest) XXX_Size() int + func (m *StatsRequest) XXX_Unmarshal(b []byte) error + type StatsResponse struct + Gc uint64 + Memory uint64 + Started uint64 + Threads uint64 + Uptime uint64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*StatsResponse) Descriptor() ([]byte, []int) + func (*StatsResponse) ProtoMessage() + func (m *StatsResponse) GetGc() uint64 + func (m *StatsResponse) GetMemory() uint64 + func (m *StatsResponse) GetStarted() uint64 + func (m *StatsResponse) GetThreads() uint64 + func (m *StatsResponse) GetUptime() uint64 + func (m *StatsResponse) Reset() + func (m *StatsResponse) String() string + func (m *StatsResponse) XXX_DiscardUnknown() + func (m *StatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *StatsResponse) XXX_Merge(src proto.Message) + func (m *StatsResponse) XXX_Size() int + func (m *StatsResponse) XXX_Unmarshal(b []byte) error