Documentation
¶
Index ¶
- func RegisterGidServer(s *grpc.Server, srv GidServer)
- type GidClient
- type GidServer
- type ReqId
- func (*ReqId) Descriptor() ([]byte, []int)
- func (m *ReqId) GetBizTag() string
- func (*ReqId) ProtoMessage()
- func (m *ReqId) Reset()
- func (m *ReqId) String() string
- func (m *ReqId) XXX_DiscardUnknown()
- func (m *ReqId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReqId) XXX_Merge(src proto.Message)
- func (m *ReqId) XXX_Size() int
- func (m *ReqId) XXX_Unmarshal(b []byte) error
- type ResId
- func (*ResId) Descriptor() ([]byte, []int)
- func (m *ResId) GetId() int64
- func (*ResId) ProtoMessage()
- func (m *ResId) Reset()
- func (m *ResId) String() string
- func (m *ResId) XXX_DiscardUnknown()
- func (m *ResId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ResId) XXX_Merge(src proto.Message)
- func (m *ResId) XXX_Size() int
- func (m *ResId) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGidServer ¶
Types ¶
type GidClient ¶
type GidClient interface {
GetId(ctx context.Context, in *ReqId, opts ...grpc.CallOption) (*ResId, error)
}
GidClient is the client API for Gid service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewGidClient ¶
func NewGidClient(cc *grpc.ClientConn) GidClient
type ReqId ¶
type ReqId struct { BizTag string `protobuf:"bytes,1,opt,name=BizTag,proto3" json:"BizTag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqId) Descriptor ¶
func (*ReqId) ProtoMessage ¶
func (*ReqId) ProtoMessage()
func (*ReqId) XXX_DiscardUnknown ¶
func (m *ReqId) XXX_DiscardUnknown()
func (*ReqId) XXX_Marshal ¶
func (*ReqId) XXX_Unmarshal ¶
type ResId ¶
type ResId struct { Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResId) Descriptor ¶
func (*ResId) ProtoMessage ¶
func (*ResId) ProtoMessage()
func (*ResId) XXX_DiscardUnknown ¶
func (m *ResId) XXX_DiscardUnknown()