Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientProxyIsNil = errors.New("proxy is nil")
View Source
var File_greeter_greeter_proto protoreflect.FileDescriptor
Functions ¶
func RegisterGreeterTcpHandler ¶
func RegisterGreeterTcpHandler(m *basemodule.BaseModule, ser Greeter)
Types ¶
type ClientProxyService ¶
type ClientProxyService struct {
// contains filtered or unexported fields
}
generated proxxy handle
func NewGreeterClient ¶
func NewGreeterClient(cli client.App, name string) *ClientProxyService
type Greeter ¶
type Greeter interface { Hello(in *Request) (out *Response, err error) Stream(in *Request) (out *Response, err error) }
generated mqant method
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
func (*Request) Descriptor
deprecated
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { Msg string `protobuf:"bytes,1,opt,name=Msg,proto3" json:"Msg,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.