Documentation
¶
Index ¶
- func RegisterEquipServiceServer(s *grpc.Server, srv EquipServiceServer)
- type Equip
- func (*Equip) Descriptor() ([]byte, []int)
- func (m *Equip) GetBootNum() int32
- func (m *Equip) GetBoxNum() int32
- func (*Equip) ProtoMessage()
- func (m *Equip) Reset()
- func (m *Equip) String() string
- func (m *Equip) XXX_DiscardUnknown()
- func (m *Equip) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Equip) XXX_Merge(src proto.Message)
- func (m *Equip) XXX_Size() int
- func (m *Equip) XXX_Unmarshal(b []byte) error
- type EquipServiceClient
- type EquipServiceServer
- type GetEquipReply
- func (*GetEquipReply) Descriptor() ([]byte, []int)
- func (m *GetEquipReply) GetEquipInfo() *Equip
- func (m *GetEquipReply) GetErrorCode() int32
- func (*GetEquipReply) ProtoMessage()
- func (m *GetEquipReply) Reset()
- func (m *GetEquipReply) String() string
- func (m *GetEquipReply) XXX_DiscardUnknown()
- func (m *GetEquipReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetEquipReply) XXX_Merge(src proto.Message)
- func (m *GetEquipReply) XXX_Size() int
- func (m *GetEquipReply) XXX_Unmarshal(b []byte) error
- type GetEquipReq
- func (*GetEquipReq) Descriptor() ([]byte, []int)
- func (m *GetEquipReq) GetUid() uint64
- func (*GetEquipReq) ProtoMessage()
- func (m *GetEquipReq) Reset()
- func (m *GetEquipReq) String() string
- func (m *GetEquipReq) XXX_DiscardUnknown()
- func (m *GetEquipReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetEquipReq) XXX_Merge(src proto.Message)
- func (m *GetEquipReq) XXX_Size() int
- func (m *GetEquipReq) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterEquipServiceServer ¶
func RegisterEquipServiceServer(s *grpc.Server, srv EquipServiceServer)
Types ¶
type Equip ¶
type Equip struct { BoxNum int32 `protobuf:"varint,1,opt,name=box_num,json=boxNum,proto3" json:"box_num,omitempty"` BootNum int32 `protobuf:"varint,2,opt,name=boot_num,json=bootNum,proto3" json:"boot_num,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Equip) Descriptor ¶
func (*Equip) GetBootNum ¶
func (*Equip) ProtoMessage ¶
func (*Equip) ProtoMessage()
func (*Equip) XXX_DiscardUnknown ¶
func (m *Equip) XXX_DiscardUnknown()
func (*Equip) XXX_Marshal ¶
func (*Equip) XXX_Unmarshal ¶
type EquipServiceClient ¶
type EquipServiceClient interface {
GetEquip(ctx context.Context, in *GetEquipReq, opts ...grpc.CallOption) (*GetEquipReply, error)
}
EquipServiceClient is the client API for EquipService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEquipServiceClient ¶
func NewEquipServiceClient(cc *grpc.ClientConn) EquipServiceClient
type EquipServiceServer ¶
type EquipServiceServer interface {
GetEquip(context.Context, *GetEquipReq) (*GetEquipReply, error)
}
EquipServiceServer is the server API for EquipService service.
type GetEquipReply ¶
type GetEquipReply struct { ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"` EquipInfo *Equip `protobuf:"bytes,2,opt,name=equip_info,json=equipInfo,proto3" json:"equip_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetEquipReply) Descriptor ¶
func (*GetEquipReply) Descriptor() ([]byte, []int)
func (*GetEquipReply) GetEquipInfo ¶
func (m *GetEquipReply) GetEquipInfo() *Equip
func (*GetEquipReply) GetErrorCode ¶
func (m *GetEquipReply) GetErrorCode() int32
func (*GetEquipReply) ProtoMessage ¶
func (*GetEquipReply) ProtoMessage()
func (*GetEquipReply) Reset ¶
func (m *GetEquipReply) Reset()
func (*GetEquipReply) String ¶
func (m *GetEquipReply) String() string
func (*GetEquipReply) XXX_DiscardUnknown ¶
func (m *GetEquipReply) XXX_DiscardUnknown()
func (*GetEquipReply) XXX_Marshal ¶
func (m *GetEquipReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEquipReply) XXX_Merge ¶
func (dst *GetEquipReply) XXX_Merge(src proto.Message)
func (*GetEquipReply) XXX_Size ¶
func (m *GetEquipReply) XXX_Size() int
func (*GetEquipReply) XXX_Unmarshal ¶
func (m *GetEquipReply) XXX_Unmarshal(b []byte) error
type GetEquipReq ¶
type GetEquipReq struct { Uid uint64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetEquipReq) Descriptor ¶
func (*GetEquipReq) Descriptor() ([]byte, []int)
func (*GetEquipReq) GetUid ¶
func (m *GetEquipReq) GetUid() uint64
func (*GetEquipReq) ProtoMessage ¶
func (*GetEquipReq) ProtoMessage()
func (*GetEquipReq) Reset ¶
func (m *GetEquipReq) Reset()
func (*GetEquipReq) String ¶
func (m *GetEquipReq) String() string
func (*GetEquipReq) XXX_DiscardUnknown ¶
func (m *GetEquipReq) XXX_DiscardUnknown()
func (*GetEquipReq) XXX_Marshal ¶
func (m *GetEquipReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetEquipReq) XXX_Merge ¶
func (dst *GetEquipReq) XXX_Merge(src proto.Message)
func (*GetEquipReq) XXX_Size ¶
func (m *GetEquipReq) XXX_Size() int
func (*GetEquipReq) XXX_Unmarshal ¶
func (m *GetEquipReq) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.