Versions in this module Expand all Collapse all v1 v1.0.0 Aug 18, 2021 Changes in this version + func RegisterDebugHandler(s server.Server, hdlr DebugHandler, opts ...server.HandlerOption) error + type DebugHandler interface + Health func(context.Context, *HealthRequest, *HealthResponse) error + Log func(context.Context, *LogRequest, Debug_LogStream) error + Stats func(context.Context, *StatsRequest, *StatsResponse) error + type DebugService interface + Health func(ctx context.Context, in *HealthRequest, opts ...client.CallOption) (*HealthResponse, error) + Log func(ctx context.Context, in *LogRequest, opts ...client.CallOption) (Debug_LogService, error) + Stats func(ctx context.Context, in *StatsRequest, opts ...client.CallOption) (*StatsResponse, error) + func NewDebugService(name string, c client.Client) DebugService + type Debug_LogService interface + Close func() error + Recv func() (*Record, error) + RecvMsg func(interface{}) error + SendMsg func(interface{}) error + type Debug_LogStream interface + Close func() error + RecvMsg func(interface{}) error + Send func(*Record) error + SendMsg func(interface{}) error + type HealthRequest struct + Service string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*HealthRequest) Descriptor() ([]byte, []int) + func (*HealthRequest) ProtoMessage() + func (m *HealthRequest) GetService() string + 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 LogRequest struct + Count int64 + Service string + Since int64 + Stream bool + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*LogRequest) Descriptor() ([]byte, []int) + func (*LogRequest) ProtoMessage() + func (m *LogRequest) GetCount() int64 + func (m *LogRequest) GetService() string + func (m *LogRequest) GetSince() int64 + func (m *LogRequest) GetStream() bool + func (m *LogRequest) Reset() + func (m *LogRequest) String() string + func (m *LogRequest) XXX_DiscardUnknown() + func (m *LogRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *LogRequest) XXX_Merge(src proto.Message) + func (m *LogRequest) XXX_Size() int + func (m *LogRequest) XXX_Unmarshal(b []byte) error + type Record struct + Metadata map[string]string + Timestamp int64 + Value string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Record) Descriptor() ([]byte, []int) + func (*Record) ProtoMessage() + func (m *Record) GetMetadata() map[string]string + func (m *Record) GetTimestamp() int64 + func (m *Record) GetValue() string + func (m *Record) Reset() + func (m *Record) String() string + func (m *Record) XXX_DiscardUnknown() + func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Record) XXX_Merge(src proto.Message) + func (m *Record) XXX_Size() int + func (m *Record) XXX_Unmarshal(b []byte) error + type StatsRequest struct + Service string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*StatsRequest) Descriptor() ([]byte, []int) + func (*StatsRequest) ProtoMessage() + func (m *StatsRequest) GetService() string + 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 + Timestamp 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) GetTimestamp() 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