Documentation
¶
Index ¶
- func RegisterGwxServer(s *grpc.Server, srv GwxServer)
- type GwxClient
- type GwxReq
- func (*GwxReq) Descriptor() ([]byte, []int)
- func (m *GwxReq) GetReqData() string
- func (*GwxReq) ProtoMessage()
- func (m *GwxReq) Reset()
- func (m *GwxReq) String() string
- func (m *GwxReq) XXX_DiscardUnknown()
- func (m *GwxReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GwxReq) XXX_Merge(src proto.Message)
- func (m *GwxReq) XXX_Size() int
- func (m *GwxReq) XXX_Unmarshal(b []byte) error
- type GwxRsp
- func (*GwxRsp) Descriptor() ([]byte, []int)
- func (m *GwxRsp) GetRspData() string
- func (*GwxRsp) ProtoMessage()
- func (m *GwxRsp) Reset()
- func (m *GwxRsp) String() string
- func (m *GwxRsp) XXX_DiscardUnknown()
- func (m *GwxRsp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GwxRsp) XXX_Merge(src proto.Message)
- func (m *GwxRsp) XXX_Size() int
- func (m *GwxRsp) XXX_Unmarshal(b []byte) error
- type GwxServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGwxServer ¶
Types ¶
type GwxClient ¶
type GwxClient interface { // 发送数据执行动作函数 GwxDo(ctx context.Context, in *GwxReq, opts ...grpc.CallOption) (*GwxRsp, error) }
GwxClient is the client API for Gwx service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGwxClient ¶
func NewGwxClient(cc *grpc.ClientConn) GwxClient
type GwxReq ¶
type GwxReq struct { ReqData string `protobuf:"bytes,1,opt,name=reqData,proto3" json:"reqData,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
请求的数据
func (*GwxReq) Descriptor ¶
func (*GwxReq) GetReqData ¶
func (*GwxReq) ProtoMessage ¶
func (*GwxReq) ProtoMessage()
func (*GwxReq) XXX_DiscardUnknown ¶
func (m *GwxReq) XXX_DiscardUnknown()
func (*GwxReq) XXX_Marshal ¶
func (*GwxReq) XXX_Unmarshal ¶
type GwxRsp ¶
type GwxRsp struct { RspData string `protobuf:"bytes,1,opt,name=rspData,proto3" json:"rspData,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
返回的数据
func (*GwxRsp) Descriptor ¶
func (*GwxRsp) GetRspData ¶
func (*GwxRsp) ProtoMessage ¶
func (*GwxRsp) ProtoMessage()
func (*GwxRsp) XXX_DiscardUnknown ¶
func (m *GwxRsp) XXX_DiscardUnknown()
func (*GwxRsp) XXX_Marshal ¶
func (*GwxRsp) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.