Versions in this module Expand all Collapse all v2 v2.1.2 Apr 12, 2023 Changes in this version + var SpanType_name = map[int32]string + var SpanType_value = map[string]int32 + func NewDebugEndpoints() []*api.Endpoint + func RegisterDebugHandler(s server.Server, hdlr DebugHandler, opts ...server.HandlerOption) error + func RegisterDebugServer(s *grpc.Server, srv DebugServer) + type CacheRequest struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CacheRequest) Descriptor() ([]byte, []int) + func (*CacheRequest) ProtoMessage() + func (m *CacheRequest) Reset() + func (m *CacheRequest) String() string + func (m *CacheRequest) XXX_DiscardUnknown() + func (m *CacheRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CacheRequest) XXX_Merge(src proto.Message) + func (m *CacheRequest) XXX_Size() int + func (m *CacheRequest) XXX_Unmarshal(b []byte) error + type CacheResponse struct + Values map[string]string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*CacheResponse) Descriptor() ([]byte, []int) + func (*CacheResponse) ProtoMessage() + func (m *CacheResponse) GetValues() map[string]string + func (m *CacheResponse) Reset() + func (m *CacheResponse) String() string + func (m *CacheResponse) XXX_DiscardUnknown() + func (m *CacheResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *CacheResponse) XXX_Merge(src proto.Message) + func (m *CacheResponse) XXX_Size() int + func (m *CacheResponse) XXX_Unmarshal(b []byte) error + type DebugClient interface + Cache func(ctx context.Context, in *CacheRequest, opts ...grpc.CallOption) (*CacheResponse, error) + Health func(ctx context.Context, in *HealthRequest, opts ...grpc.CallOption) (*HealthResponse, error) + Log func(ctx context.Context, in *LogRequest, opts ...grpc.CallOption) (Debug_LogClient, error) + Stats func(ctx context.Context, in *StatsRequest, opts ...grpc.CallOption) (*StatsResponse, error) + Trace func(ctx context.Context, in *TraceRequest, opts ...grpc.CallOption) (*TraceResponse, error) + func NewDebugClient(cc *grpc.ClientConn) DebugClient + type DebugHandler interface + Cache func(context.Context, *CacheRequest, *CacheResponse) error + Health func(context.Context, *HealthRequest, *HealthResponse) error + Log func(context.Context, *LogRequest, Debug_LogStream) error + Stats func(context.Context, *StatsRequest, *StatsResponse) error + Trace func(context.Context, *TraceRequest, *TraceResponse) error + type DebugServer interface + Cache func(context.Context, *CacheRequest) (*CacheResponse, error) + Health func(context.Context, *HealthRequest) (*HealthResponse, error) + Log func(*LogRequest, Debug_LogServer) error + Stats func(context.Context, *StatsRequest) (*StatsResponse, error) + Trace func(context.Context, *TraceRequest) (*TraceResponse, error) + type DebugService interface + Cache func(ctx context.Context, in *CacheRequest, opts ...client.CallOption) (*CacheResponse, error) + 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) + Trace func(ctx context.Context, in *TraceRequest, opts ...client.CallOption) (*TraceResponse, error) + func NewDebugService(name string, c client.Client) DebugService + type Debug_LogClient interface + Recv func() (*Record, error) + type Debug_LogServer interface + Send func(*Record) error + type Debug_LogService interface + Close func() error + Context func() context.Context + Recv func() (*Record, error) + RecvMsg func(interface{}) error + SendMsg func(interface{}) error + type Debug_LogStream interface + Close func() error + Context func() context.Context + 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 + Message string + Metadata map[string]string + Timestamp int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Record) Descriptor() ([]byte, []int) + func (*Record) ProtoMessage() + func (m *Record) GetMessage() string + func (m *Record) GetMetadata() map[string]string + func (m *Record) GetTimestamp() int64 + 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 Span struct + Duration uint64 + Id string + Metadata map[string]string + Name string + Parent string + Started uint64 + Trace string + Type SpanType + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Span) Descriptor() ([]byte, []int) + func (*Span) ProtoMessage() + func (m *Span) GetDuration() uint64 + func (m *Span) GetId() string + func (m *Span) GetMetadata() map[string]string + func (m *Span) GetName() string + func (m *Span) GetParent() string + func (m *Span) GetStarted() uint64 + func (m *Span) GetTrace() string + func (m *Span) GetType() SpanType + func (m *Span) Reset() + func (m *Span) String() string + func (m *Span) XXX_DiscardUnknown() + func (m *Span) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Span) XXX_Merge(src proto.Message) + func (m *Span) XXX_Size() int + func (m *Span) XXX_Unmarshal(b []byte) error + type SpanType int32 + const SpanType_INBOUND + const SpanType_OUTBOUND + func (SpanType) EnumDescriptor() ([]byte, []int) + func (x SpanType) String() string + 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 + Errors uint64 + Gc uint64 + Memory uint64 + Requests 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) GetErrors() uint64 + func (m *StatsResponse) GetGc() uint64 + func (m *StatsResponse) GetMemory() uint64 + func (m *StatsResponse) GetRequests() 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 + type TraceRequest struct + Id string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*TraceRequest) Descriptor() ([]byte, []int) + func (*TraceRequest) ProtoMessage() + func (m *TraceRequest) GetId() string + func (m *TraceRequest) Reset() + func (m *TraceRequest) String() string + func (m *TraceRequest) XXX_DiscardUnknown() + func (m *TraceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TraceRequest) XXX_Merge(src proto.Message) + func (m *TraceRequest) XXX_Size() int + func (m *TraceRequest) XXX_Unmarshal(b []byte) error + type TraceResponse struct + Spans []*Span + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*TraceResponse) Descriptor() ([]byte, []int) + func (*TraceResponse) ProtoMessage() + func (m *TraceResponse) GetSpans() []*Span + func (m *TraceResponse) Reset() + func (m *TraceResponse) String() string + func (m *TraceResponse) XXX_DiscardUnknown() + func (m *TraceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TraceResponse) XXX_Merge(src proto.Message) + func (m *TraceResponse) XXX_Size() int + func (m *TraceResponse) XXX_Unmarshal(b []byte) error + type UnimplementedDebugServer struct + func (*UnimplementedDebugServer) Cache(ctx context.Context, req *CacheRequest) (*CacheResponse, error) + func (*UnimplementedDebugServer) Health(ctx context.Context, req *HealthRequest) (*HealthResponse, error) + func (*UnimplementedDebugServer) Log(req *LogRequest, srv Debug_LogServer) error + func (*UnimplementedDebugServer) Stats(ctx context.Context, req *StatsRequest) (*StatsResponse, error) + func (*UnimplementedDebugServer) Trace(ctx context.Context, req *TraceRequest) (*TraceResponse, error)