equip

package
v0.0.0-...-b21193a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Equip) GetBootNum

func (m *Equip) GetBootNum() int32

func (*Equip) GetBoxNum

func (m *Equip) GetBoxNum() int32

func (*Equip) ProtoMessage

func (*Equip) ProtoMessage()

func (*Equip) Reset

func (m *Equip) Reset()

func (*Equip) String

func (m *Equip) String() string

func (*Equip) XXX_DiscardUnknown

func (m *Equip) XXX_DiscardUnknown()

func (*Equip) XXX_Marshal

func (m *Equip) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Equip) XXX_Merge

func (dst *Equip) XXX_Merge(src proto.Message)

func (*Equip) XXX_Size

func (m *Equip) XXX_Size() int

func (*Equip) XXX_Unmarshal

func (m *Equip) XXX_Unmarshal(b []byte) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL