Documentation
¶
Index ¶
- func RegisterCallerTestAPIServer(s *qrpc.Server, srv CallerTestAPIServer)deprecated
- func RegisterHandlerTestAPIServer(s *qrpc.Server, srv HandlerTestAPIServer)deprecated
- type CallerTestAPIClient
- type CallerTestAPIServer
- type HandlerTestAPIClient
- type HandlerTestAPIServer
- type Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetUid() string
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) String() string
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Request) XXX_Merge(src proto.Message)
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetUid() string
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) String() string
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterCallerTestAPIServer
deprecated
func RegisterCallerTestAPIServer(s *qrpc.Server, srv CallerTestAPIServer)
Deprecated: Do not use.
func RegisterHandlerTestAPIServer
deprecated
func RegisterHandlerTestAPIServer(s *qrpc.Server, srv HandlerTestAPIServer)
Deprecated: Do not use.
Types ¶
type CallerTestAPIClient ¶
type CallerTestAPIClient interface { // BidirectionalMethod tests bidirectional method. // Deprecated: Do not use. BidirectionalMethod(ctx context.Context, in *Request) (string, error) // ForwardMethod tests forward method. ForwardMethod(ctx context.Context, in *Request) (string, error) }
CallerTestAPIClient is the caller client API for TestAPI service. Deprecated: Do not use
func NewCallerTestAPIClient
deprecated
func NewCallerTestAPIClient(cc *qrpc.ClientConn) CallerTestAPIClient
Deprecated: Do not use.
type CallerTestAPIServer ¶
type CallerTestAPIServer interface { // BidirectionalMethod tests bidirectional method. // Deprecated: Do not use. BidirectionalMethod(ctx context.Context, reqID string, out *Response) error // BackwardMethod tests backward method. BackwardMethod(ctx context.Context, reqID string, out *Response) error }
CallerTestAPIServer is the caller server API for TestAPI service. It should be used to handle responses from backward methods and bidirectional methods. Deprecated: Do not use.
type HandlerTestAPIClient ¶
type HandlerTestAPIClient interface { // BidirectionalMethod tests bidirectional method. // Deprecated: Do not use. BidirectionalMethod(ctx context.Context, reqID string, out *Response) error // BackwardMethod tests backward method. BackwardMethod(ctx context.Context, out *Response) (string, error) }
HandlerTestAPIClient is the handler client API for TestAPI service. It should be used to send response to the caller. Deprecated: Do not use.
func NewHandlerTestAPIClient
deprecated
func NewHandlerTestAPIClient(cc *qrpc.ClientConn) HandlerTestAPIClient
Deprecated: Do not use.
type HandlerTestAPIServer ¶
type HandlerTestAPIServer interface { // BidirectionalMethod tests bidirectional method. // Deprecated: Do not use. BidirectionalMethod(ctx context.Context, reqID string, in *Request) error // ForwardMethod tests forward method. ForwardMethod(ctx context.Context, reqID string, in *Request) error }
HandlerTestAPIServer is the handler server API for TestAPI service. Deprecated: Do not use.
type Request ¶
type Request struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request - request message for TestAPI service.
func (*Request) Descriptor ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) XXX_DiscardUnknown ¶
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶
func (*Request) XXX_Unmarshal ¶
type Response ¶
type Response struct { Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response - response message for TestAPI service.
func (*Response) Descriptor ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()