Documentation ¶
Index ¶
- func RegisterEchoAPIServer(s *qrpc.Server, srv EchoAPIServer)
- type EchoAPIClient
- type EchoAPIServer
- type EchoRequest
- func (*EchoRequest) Descriptor() ([]byte, []int)
- func (m *EchoRequest) GetGreeting() string
- func (*EchoRequest) ProtoMessage()
- func (m *EchoRequest) Reset()
- func (m *EchoRequest) String() string
- func (m *EchoRequest) XXX_DiscardUnknown()
- func (m *EchoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EchoRequest) XXX_Merge(src proto.Message)
- func (m *EchoRequest) XXX_Size() int
- func (m *EchoRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterEchoAPIServer ¶
func RegisterEchoAPIServer(s *qrpc.Server, srv EchoAPIServer)
Types ¶
type EchoAPIClient ¶
type EchoAPIClient interface {
Echo(ctx context.Context, in *EchoRequest) error
}
EchoAPIClient is the client API for EchoAPI service.
func NewEchoAPIClient ¶
func NewEchoAPIClient(cc *qrpc.ClientConn) EchoAPIClient
type EchoAPIServer ¶
type EchoAPIServer interface {
Echo(context.Context, *EchoRequest) error
}
EchoAPIServer is the server API for EchoAPI service.
type EchoRequest ¶
type EchoRequest struct { Greeting string `protobuf:"bytes,1,opt,name=greeting,proto3" json:"greeting,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EchoRequest) Descriptor ¶
func (*EchoRequest) Descriptor() ([]byte, []int)
func (*EchoRequest) GetGreeting ¶
func (m *EchoRequest) GetGreeting() string
func (*EchoRequest) ProtoMessage ¶
func (*EchoRequest) ProtoMessage()
func (*EchoRequest) Reset ¶
func (m *EchoRequest) Reset()
func (*EchoRequest) String ¶
func (m *EchoRequest) String() string
func (*EchoRequest) XXX_DiscardUnknown ¶
func (m *EchoRequest) XXX_DiscardUnknown()
func (*EchoRequest) XXX_Marshal ¶
func (m *EchoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EchoRequest) XXX_Merge ¶
func (m *EchoRequest) XXX_Merge(src proto.Message)
func (*EchoRequest) XXX_Size ¶
func (m *EchoRequest) XXX_Size() int
func (*EchoRequest) XXX_Unmarshal ¶
func (m *EchoRequest) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.