Documentation ¶
Index ¶
- Variables
- func RegisterDebugServer(s *grpc.Server, srv DebugServer)
- type DebugClient
- type DebugServer
- type Debug_DumpClient
- type Debug_DumpServer
- type DumpRequest
- func (*DumpRequest) Descriptor() ([]byte, []int)
- func (m *DumpRequest) GetRecursed() bool
- func (m *DumpRequest) Marshal() (dAtA []byte, err error)
- func (m *DumpRequest) MarshalTo(dAtA []byte) (int, error)
- func (*DumpRequest) ProtoMessage()
- func (m *DumpRequest) Reset()
- func (m *DumpRequest) Size() (n int)
- func (m *DumpRequest) String() string
- func (m *DumpRequest) Unmarshal(dAtA []byte) error
- func (m *DumpRequest) XXX_DiscardUnknown()
- func (m *DumpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DumpRequest) XXX_Merge(src proto.Message)
- func (m *DumpRequest) XXX_Size() int
- func (m *DumpRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthDebug = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDebug = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterDebugServer ¶
func RegisterDebugServer(s *grpc.Server, srv DebugServer)
Types ¶
type DebugClient ¶
type DebugClient interface {
Dump(ctx context.Context, in *DumpRequest, opts ...grpc.CallOption) (Debug_DumpClient, error)
}
DebugClient is the client API for Debug service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDebugClient ¶
func NewDebugClient(cc *grpc.ClientConn) DebugClient
type DebugServer ¶
type DebugServer interface {
Dump(*DumpRequest, Debug_DumpServer) error
}
DebugServer is the server API for Debug service.
type Debug_DumpClient ¶
type Debug_DumpClient interface { Recv() (*types.BytesValue, error) grpc.ClientStream }
type Debug_DumpServer ¶
type Debug_DumpServer interface { Send(*types.BytesValue) error grpc.ServerStream }
type DumpRequest ¶
type DumpRequest struct { // Recursed is true if this request is a recursive call from another request. // Callers should leave it unset, it's used to prevent infinite loops of // recursive calls. Recursed bool `protobuf:"varint,1,opt,name=recursed,proto3" json:"recursed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DumpRequest) Descriptor ¶
func (*DumpRequest) Descriptor() ([]byte, []int)
func (*DumpRequest) GetRecursed ¶
func (m *DumpRequest) GetRecursed() bool
func (*DumpRequest) Marshal ¶
func (m *DumpRequest) Marshal() (dAtA []byte, err error)
func (*DumpRequest) ProtoMessage ¶
func (*DumpRequest) ProtoMessage()
func (*DumpRequest) Reset ¶
func (m *DumpRequest) Reset()
func (*DumpRequest) Size ¶
func (m *DumpRequest) Size() (n int)
func (*DumpRequest) String ¶
func (m *DumpRequest) String() string
func (*DumpRequest) Unmarshal ¶
func (m *DumpRequest) Unmarshal(dAtA []byte) error
func (*DumpRequest) XXX_DiscardUnknown ¶ added in v1.7.12
func (m *DumpRequest) XXX_DiscardUnknown()
func (*DumpRequest) XXX_Marshal ¶ added in v1.7.12
func (m *DumpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DumpRequest) XXX_Merge ¶ added in v1.7.12
func (dst *DumpRequest) XXX_Merge(src proto.Message)
func (*DumpRequest) XXX_Size ¶ added in v1.7.12
func (m *DumpRequest) XXX_Size() int
func (*DumpRequest) XXX_Unmarshal ¶ added in v1.7.12
func (m *DumpRequest) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.