Documentation ¶
Index ¶
- func RegisterPorsServer(s *grpc.Server, srv PorsServer)
- type PorsClient
- type PorsServer
- type Req
- func (*Req) Descriptor() ([]byte, []int)
- func (m *Req) GetReqdata() string
- func (*Req) ProtoMessage()
- func (m *Req) Reset()
- func (m *Req) String() string
- func (m *Req) XXX_DiscardUnknown()
- func (m *Req) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Req) XXX_Merge(src proto.Message)
- func (m *Req) XXX_Size() int
- func (m *Req) XXX_Unmarshal(b []byte) error
- type Rsp
- func (*Rsp) Descriptor() ([]byte, []int)
- func (m *Rsp) GetRspdata() string
- func (*Rsp) ProtoMessage()
- func (m *Rsp) Reset()
- func (m *Rsp) String() string
- func (m *Rsp) XXX_DiscardUnknown()
- func (m *Rsp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Rsp) XXX_Merge(src proto.Message)
- func (m *Rsp) XXX_Size() int
- func (m *Rsp) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPorsServer ¶
func RegisterPorsServer(s *grpc.Server, srv PorsServer)
Types ¶
type PorsClient ¶
type PorsClient interface {
Invoke(ctx context.Context, in *Req, opts ...grpc.CallOption) (*Rsp, error)
}
PorsClient is the client API for Pors service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPorsClient ¶
func NewPorsClient(cc *grpc.ClientConn) PorsClient
type PorsServer ¶
PorsServer is the server API for Pors service.
type Req ¶
type Req 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 (*Req) Descriptor ¶
func (*Req) GetReqdata ¶
func (*Req) ProtoMessage ¶
func (*Req) ProtoMessage()
func (*Req) XXX_DiscardUnknown ¶
func (m *Req) XXX_DiscardUnknown()
func (*Req) XXX_Unmarshal ¶
type Rsp ¶
type Rsp 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 (*Rsp) Descriptor ¶
func (*Rsp) GetRspdata ¶
func (*Rsp) ProtoMessage ¶
func (*Rsp) ProtoMessage()
func (*Rsp) XXX_DiscardUnknown ¶
func (m *Rsp) XXX_DiscardUnknown()
func (*Rsp) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.