Documentation ¶
Index ¶
- Variables
- type BoolReply
- func (*BoolReply) Descriptor() ([]byte, []int)
- func (m *BoolReply) GetResult() bool
- func (m *BoolReply) Marshal() (dAtA []byte, err error)
- func (m *BoolReply) MarshalTo(dAtA []byte) (int, error)
- func (m *BoolReply) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BoolReply) ProtoMessage()
- func (m *BoolReply) Reset()
- func (m *BoolReply) Size() (n int)
- func (m *BoolReply) String() string
- func (m *BoolReply) Unmarshal(dAtA []byte) error
- func (m *BoolReply) XXX_DiscardUnknown()
- func (m *BoolReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BoolReply) XXX_Merge(src proto.Message)
- func (m *BoolReply) XXX_Size() int
- func (m *BoolReply) XXX_Unmarshal(b []byte) error
- type Filtered
- func (*Filtered) Descriptor() ([]byte, []int)
- func (m *Filtered) GetField() string
- func (m *Filtered) GetOp() string
- func (m *Filtered) GetValue() string
- func (m *Filtered) GetValueType() string
- func (m *Filtered) Marshal() (dAtA []byte, err error)
- func (m *Filtered) MarshalTo(dAtA []byte) (int, error)
- func (m *Filtered) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Filtered) ProtoMessage()
- func (m *Filtered) Reset()
- func (m *Filtered) Size() (n int)
- func (m *Filtered) String() string
- func (m *Filtered) Unmarshal(dAtA []byte) error
- func (m *Filtered) XXX_DiscardUnknown()
- func (m *Filtered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Filtered) XXX_Merge(src proto.Message)
- func (m *Filtered) XXX_Size() int
- func (m *Filtered) XXX_Unmarshal(b []byte) error
- type IdReply
- func (*IdReply) Descriptor() ([]byte, []int)
- func (m *IdReply) GetId() int64
- func (m *IdReply) Marshal() (dAtA []byte, err error)
- func (m *IdReply) MarshalTo(dAtA []byte) (int, error)
- func (m *IdReply) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IdReply) ProtoMessage()
- func (m *IdReply) Reset()
- func (m *IdReply) Size() (n int)
- func (m *IdReply) String() string
- func (m *IdReply) Unmarshal(dAtA []byte) error
- func (m *IdReply) XXX_DiscardUnknown()
- func (m *IdReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdReply) XXX_Merge(src proto.Message)
- func (m *IdReply) XXX_Size() int
- func (m *IdReply) XXX_Unmarshal(b []byte) error
- type IdReq
- func (*IdReq) Descriptor() ([]byte, []int)
- func (m *IdReq) GetId() int64
- func (m *IdReq) Marshal() (dAtA []byte, err error)
- func (m *IdReq) MarshalTo(dAtA []byte) (int, error)
- func (m *IdReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IdReq) ProtoMessage()
- func (m *IdReq) Reset()
- func (m *IdReq) Size() (n int)
- func (m *IdReq) String() string
- func (m *IdReq) Unmarshal(dAtA []byte) error
- func (m *IdReq) XXX_DiscardUnknown()
- func (m *IdReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdReq) XXX_Merge(src proto.Message)
- func (m *IdReq) XXX_Size() int
- func (m *IdReq) XXX_Unmarshal(b []byte) error
- type IdResp
- func (*IdResp) Descriptor() ([]byte, []int)
- func (m *IdResp) GetId() int64
- func (m *IdResp) Marshal() (dAtA []byte, err error)
- func (m *IdResp) MarshalTo(dAtA []byte) (int, error)
- func (m *IdResp) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IdResp) ProtoMessage()
- func (m *IdResp) Reset()
- func (m *IdResp) Size() (n int)
- func (m *IdResp) String() string
- func (m *IdResp) Unmarshal(dAtA []byte) error
- func (m *IdResp) XXX_DiscardUnknown()
- func (m *IdResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdResp) XXX_Merge(src proto.Message)
- func (m *IdResp) XXX_Size() int
- func (m *IdResp) XXX_Unmarshal(b []byte) error
- type IdsReply
- func (*IdsReply) Descriptor() ([]byte, []int)
- func (m *IdsReply) GetIds() []int64
- func (m *IdsReply) Marshal() (dAtA []byte, err error)
- func (m *IdsReply) MarshalTo(dAtA []byte) (int, error)
- func (m *IdsReply) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IdsReply) ProtoMessage()
- func (m *IdsReply) Reset()
- func (m *IdsReply) Size() (n int)
- func (m *IdsReply) String() string
- func (m *IdsReply) Unmarshal(dAtA []byte) error
- func (m *IdsReply) XXX_DiscardUnknown()
- func (m *IdsReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdsReply) XXX_Merge(src proto.Message)
- func (m *IdsReply) XXX_Size() int
- func (m *IdsReply) XXX_Unmarshal(b []byte) error
- type IdsReq
- func (*IdsReq) Descriptor() ([]byte, []int)
- func (m *IdsReq) GetIds() []int64
- func (m *IdsReq) Marshal() (dAtA []byte, err error)
- func (m *IdsReq) MarshalTo(dAtA []byte) (int, error)
- func (m *IdsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IdsReq) ProtoMessage()
- func (m *IdsReq) Reset()
- func (m *IdsReq) Size() (n int)
- func (m *IdsReq) String() string
- func (m *IdsReq) Unmarshal(dAtA []byte) error
- func (m *IdsReq) XXX_DiscardUnknown()
- func (m *IdsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IdsReq) XXX_Merge(src proto.Message)
- func (m *IdsReq) XXX_Size() int
- func (m *IdsReq) XXX_Unmarshal(b []byte) error
- type ListReply
- func (*ListReply) Descriptor() ([]byte, []int)
- func (m *ListReply) GetPageNumber() int64
- func (m *ListReply) GetPageSize() int64
- func (m *ListReply) GetTotalPages() int64
- func (m *ListReply) GetTotalRecords() int64
- func (m *ListReply) Marshal() (dAtA []byte, err error)
- func (m *ListReply) MarshalTo(dAtA []byte) (int, error)
- func (m *ListReply) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListReply) ProtoMessage()
- func (m *ListReply) Reset()
- func (m *ListReply) Size() (n int)
- func (m *ListReply) String() string
- func (m *ListReply) Unmarshal(dAtA []byte) error
- func (m *ListReply) XXX_DiscardUnknown()
- func (m *ListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListReply) XXX_Merge(src proto.Message)
- func (m *ListReply) XXX_Size() int
- func (m *ListReply) XXX_Unmarshal(b []byte) error
- type ListRoomReply
- func (*ListRoomReply) Descriptor() ([]byte, []int)
- func (m *ListRoomReply) GetId() int64
- func (m *ListRoomReply) GetName() string
- func (m *ListRoomReply) Marshal() (dAtA []byte, err error)
- func (m *ListRoomReply) MarshalTo(dAtA []byte) (int, error)
- func (m *ListRoomReply) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListRoomReply) ProtoMessage()
- func (m *ListRoomReply) Reset()
- func (m *ListRoomReply) Size() (n int)
- func (m *ListRoomReply) String() string
- func (m *ListRoomReply) Unmarshal(dAtA []byte) error
- func (m *ListRoomReply) XXX_DiscardUnknown()
- func (m *ListRoomReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListRoomReply) XXX_Merge(src proto.Message)
- func (m *ListRoomReply) XXX_Size() int
- func (m *ListRoomReply) XXX_Unmarshal(b []byte) error
- type ListUserReply
- func (*ListUserReply) Descriptor() ([]byte, []int)
- func (m *ListUserReply) GetId() int64
- func (m *ListUserReply) GetName() string
- func (m *ListUserReply) Marshal() (dAtA []byte, err error)
- func (m *ListUserReply) MarshalTo(dAtA []byte) (int, error)
- func (m *ListUserReply) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListUserReply) ProtoMessage()
- func (m *ListUserReply) Reset()
- func (m *ListUserReply) Size() (n int)
- func (m *ListUserReply) String() string
- func (m *ListUserReply) Unmarshal(dAtA []byte) error
- func (m *ListUserReply) XXX_DiscardUnknown()
- func (m *ListUserReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListUserReply) XXX_Merge(src proto.Message)
- func (m *ListUserReply) XXX_Size() int
- func (m *ListUserReply) XXX_Unmarshal(b []byte) error
- type QueryReq
- func (*QueryReq) Descriptor() ([]byte, []int)
- func (m *QueryReq) GetFiltered() []*Filtered
- func (m *QueryReq) GetPage() int64
- func (m *QueryReq) GetPageSize() int64
- func (m *QueryReq) GetSorted() []*Sorted
- func (m *QueryReq) Marshal() (dAtA []byte, err error)
- func (m *QueryReq) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryReq) ProtoMessage()
- func (m *QueryReq) Reset()
- func (m *QueryReq) Size() (n int)
- func (m *QueryReq) String() string
- func (m *QueryReq) Unmarshal(dAtA []byte) error
- func (m *QueryReq) XXX_DiscardUnknown()
- func (m *QueryReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryReq) XXX_Merge(src proto.Message)
- func (m *QueryReq) XXX_Size() int
- func (m *QueryReq) XXX_Unmarshal(b []byte) error
- type Reply
- func (*Reply) Descriptor() ([]byte, []int)
- func (m *Reply) GetMessage() string
- func (m *Reply) GetStatus() int32
- func (m *Reply) Marshal() (dAtA []byte, err error)
- func (m *Reply) MarshalTo(dAtA []byte) (int, error)
- func (m *Reply) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Reply) ProtoMessage()
- func (m *Reply) Reset()
- func (m *Reply) Size() (n int)
- func (m *Reply) String() string
- func (m *Reply) Unmarshal(dAtA []byte) error
- func (m *Reply) XXX_DiscardUnknown()
- func (m *Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Reply) XXX_Merge(src proto.Message)
- func (m *Reply) XXX_Size() int
- func (m *Reply) XXX_Unmarshal(b []byte) error
- type Sorted
- func (*Sorted) Descriptor() ([]byte, []int)
- func (m *Sorted) GetDesc() bool
- func (m *Sorted) GetId() string
- func (m *Sorted) Marshal() (dAtA []byte, err error)
- func (m *Sorted) MarshalTo(dAtA []byte) (int, error)
- func (m *Sorted) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Sorted) ProtoMessage()
- func (m *Sorted) Reset()
- func (m *Sorted) Size() (n int)
- func (m *Sorted) String() string
- func (m *Sorted) Unmarshal(dAtA []byte) error
- func (m *Sorted) XXX_DiscardUnknown()
- func (m *Sorted) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Sorted) XXX_Merge(src proto.Message)
- func (m *Sorted) XXX_Size() int
- func (m *Sorted) XXX_Unmarshal(b []byte) error
- type StrIdReq
- func (*StrIdReq) Descriptor() ([]byte, []int)
- func (m *StrIdReq) GetId() string
- func (m *StrIdReq) Marshal() (dAtA []byte, err error)
- func (m *StrIdReq) MarshalTo(dAtA []byte) (int, error)
- func (m *StrIdReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StrIdReq) ProtoMessage()
- func (m *StrIdReq) Reset()
- func (m *StrIdReq) Size() (n int)
- func (m *StrIdReq) String() string
- func (m *StrIdReq) Unmarshal(dAtA []byte) error
- func (m *StrIdReq) XXX_DiscardUnknown()
- func (m *StrIdReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StrIdReq) XXX_Merge(src proto.Message)
- func (m *StrIdReq) XXX_Size() int
- func (m *StrIdReq) XXX_Unmarshal(b []byte) error
- type StrIdsReq
- func (*StrIdsReq) Descriptor() ([]byte, []int)
- func (m *StrIdsReq) GetIds() []string
- func (m *StrIdsReq) Marshal() (dAtA []byte, err error)
- func (m *StrIdsReq) MarshalTo(dAtA []byte) (int, error)
- func (m *StrIdsReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StrIdsReq) ProtoMessage()
- func (m *StrIdsReq) Reset()
- func (m *StrIdsReq) Size() (n int)
- func (m *StrIdsReq) String() string
- func (m *StrIdsReq) Unmarshal(dAtA []byte) error
- func (m *StrIdsReq) XXX_DiscardUnknown()
- func (m *StrIdsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StrIdsReq) XXX_Merge(src proto.Message)
- func (m *StrIdsReq) XXX_Size() int
- func (m *StrIdsReq) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthBaseDto = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBaseDto = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBaseDto = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
This section is empty.
Types ¶
type BoolReply ¶
type BoolReply struct {
Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
}
func (*BoolReply) Descriptor ¶
func (*BoolReply) MarshalToSizedBuffer ¶
func (*BoolReply) ProtoMessage ¶
func (*BoolReply) ProtoMessage()
func (*BoolReply) XXX_DiscardUnknown ¶
func (m *BoolReply) XXX_DiscardUnknown()
func (*BoolReply) XXX_Marshal ¶
func (*BoolReply) XXX_Unmarshal ¶
type Filtered ¶
type Filtered struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Op string `protobuf:"bytes,2,opt,name=op,proto3" json:"op,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` ValueType string `protobuf:"bytes,4,opt,name=valueType,proto3" json:"valueType,omitempty"` }
func (*Filtered) Descriptor ¶
func (*Filtered) GetValueType ¶
func (*Filtered) MarshalToSizedBuffer ¶
func (*Filtered) ProtoMessage ¶
func (*Filtered) ProtoMessage()
func (*Filtered) XXX_DiscardUnknown ¶
func (m *Filtered) XXX_DiscardUnknown()
func (*Filtered) XXX_Marshal ¶
func (*Filtered) XXX_Unmarshal ¶
type IdReply ¶
type IdReply struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
}
func (*IdReply) Descriptor ¶
func (*IdReply) MarshalToSizedBuffer ¶
func (*IdReply) ProtoMessage ¶
func (*IdReply) ProtoMessage()
func (*IdReply) XXX_DiscardUnknown ¶
func (m *IdReply) XXX_DiscardUnknown()
func (*IdReply) XXX_Marshal ¶
func (*IdReply) XXX_Unmarshal ¶
type IdReq ¶
type IdReq struct { //主键id Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"required"` }
func (*IdReq) Descriptor ¶
func (*IdReq) ProtoMessage ¶
func (*IdReq) ProtoMessage()
func (*IdReq) XXX_DiscardUnknown ¶
func (m *IdReq) XXX_DiscardUnknown()
func (*IdReq) XXX_Marshal ¶
func (*IdReq) XXX_Unmarshal ¶
type IdResp ¶
type IdResp struct { //主键id Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" validate:"required"` }
func (*IdResp) Descriptor ¶
func (*IdResp) MarshalToSizedBuffer ¶
func (*IdResp) ProtoMessage ¶
func (*IdResp) ProtoMessage()
func (*IdResp) XXX_DiscardUnknown ¶
func (m *IdResp) XXX_DiscardUnknown()
func (*IdResp) XXX_Marshal ¶
func (*IdResp) XXX_Unmarshal ¶
type IdsReply ¶
type IdsReply struct {
Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids"`
}
func (*IdsReply) Descriptor ¶
func (*IdsReply) MarshalToSizedBuffer ¶
func (*IdsReply) ProtoMessage ¶
func (*IdsReply) ProtoMessage()
func (*IdsReply) XXX_DiscardUnknown ¶
func (m *IdsReply) XXX_DiscardUnknown()
func (*IdsReply) XXX_Marshal ¶
func (*IdsReply) XXX_Unmarshal ¶
type IdsReq ¶
type IdsReq struct {
Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids" validate:"required"`
}
func (*IdsReq) Descriptor ¶
func (*IdsReq) MarshalToSizedBuffer ¶
func (*IdsReq) ProtoMessage ¶
func (*IdsReq) ProtoMessage()
func (*IdsReq) XXX_DiscardUnknown ¶
func (m *IdsReq) XXX_DiscardUnknown()
func (*IdsReq) XXX_Marshal ¶
func (*IdsReq) XXX_Unmarshal ¶
type ListReply ¶
type ListReply struct { TotalPages int64 `protobuf:"varint,1,opt,name=totalPages,proto3" json:"totalPages"` TotalRecords int64 `protobuf:"varint,2,opt,name=totalRecords,proto3" json:"totalRecords"` PageSize int64 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize"` PageNumber int64 `protobuf:"varint,4,opt,name=pageNumber,proto3" json:"pageNumber"` }
func (*ListReply) Descriptor ¶
func (*ListReply) GetPageNumber ¶
func (*ListReply) GetPageSize ¶
func (*ListReply) GetTotalPages ¶
func (*ListReply) GetTotalRecords ¶
func (*ListReply) MarshalToSizedBuffer ¶
func (*ListReply) ProtoMessage ¶
func (*ListReply) ProtoMessage()
func (*ListReply) XXX_DiscardUnknown ¶
func (m *ListReply) XXX_DiscardUnknown()
func (*ListReply) XXX_Marshal ¶
func (*ListReply) XXX_Unmarshal ¶
type ListRoomReply ¶
type ListRoomReply struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` }
func (*ListRoomReply) Descriptor ¶
func (*ListRoomReply) Descriptor() ([]byte, []int)
func (*ListRoomReply) GetId ¶
func (m *ListRoomReply) GetId() int64
func (*ListRoomReply) GetName ¶
func (m *ListRoomReply) GetName() string
func (*ListRoomReply) Marshal ¶
func (m *ListRoomReply) Marshal() (dAtA []byte, err error)
func (*ListRoomReply) MarshalToSizedBuffer ¶
func (m *ListRoomReply) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListRoomReply) ProtoMessage ¶
func (*ListRoomReply) ProtoMessage()
func (*ListRoomReply) Reset ¶
func (m *ListRoomReply) Reset()
func (*ListRoomReply) Size ¶
func (m *ListRoomReply) Size() (n int)
func (*ListRoomReply) String ¶
func (m *ListRoomReply) String() string
func (*ListRoomReply) Unmarshal ¶
func (m *ListRoomReply) Unmarshal(dAtA []byte) error
func (*ListRoomReply) XXX_DiscardUnknown ¶
func (m *ListRoomReply) XXX_DiscardUnknown()
func (*ListRoomReply) XXX_Marshal ¶
func (m *ListRoomReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListRoomReply) XXX_Merge ¶
func (m *ListRoomReply) XXX_Merge(src proto.Message)
func (*ListRoomReply) XXX_Size ¶
func (m *ListRoomReply) XXX_Size() int
func (*ListRoomReply) XXX_Unmarshal ¶
func (m *ListRoomReply) XXX_Unmarshal(b []byte) error
type ListUserReply ¶
type ListUserReply struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` }
func (*ListUserReply) Descriptor ¶
func (*ListUserReply) Descriptor() ([]byte, []int)
func (*ListUserReply) GetId ¶
func (m *ListUserReply) GetId() int64
func (*ListUserReply) GetName ¶
func (m *ListUserReply) GetName() string
func (*ListUserReply) Marshal ¶
func (m *ListUserReply) Marshal() (dAtA []byte, err error)
func (*ListUserReply) MarshalToSizedBuffer ¶
func (m *ListUserReply) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListUserReply) ProtoMessage ¶
func (*ListUserReply) ProtoMessage()
func (*ListUserReply) Reset ¶
func (m *ListUserReply) Reset()
func (*ListUserReply) Size ¶
func (m *ListUserReply) Size() (n int)
func (*ListUserReply) String ¶
func (m *ListUserReply) String() string
func (*ListUserReply) Unmarshal ¶
func (m *ListUserReply) Unmarshal(dAtA []byte) error
func (*ListUserReply) XXX_DiscardUnknown ¶
func (m *ListUserReply) XXX_DiscardUnknown()
func (*ListUserReply) XXX_Marshal ¶
func (m *ListUserReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListUserReply) XXX_Merge ¶
func (m *ListUserReply) XXX_Merge(src proto.Message)
func (*ListUserReply) XXX_Size ¶
func (m *ListUserReply) XXX_Size() int
func (*ListUserReply) XXX_Unmarshal ¶
func (m *ListUserReply) XXX_Unmarshal(b []byte) error
type QueryReq ¶
type QueryReq struct { Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"` PageSize int64 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize"` Sorted []*Sorted `protobuf:"bytes,3,rep,name=sorted,proto3" json:"sorted"` Filtered []*Filtered `protobuf:"bytes,4,rep,name=filtered,proto3" json:"filtered"` }
func (*QueryReq) Descriptor ¶
func (*QueryReq) GetFiltered ¶
func (*QueryReq) GetPageSize ¶
func (*QueryReq) MarshalToSizedBuffer ¶
func (*QueryReq) ProtoMessage ¶
func (*QueryReq) ProtoMessage()
func (*QueryReq) XXX_DiscardUnknown ¶
func (m *QueryReq) XXX_DiscardUnknown()
func (*QueryReq) XXX_Marshal ¶
func (*QueryReq) XXX_Unmarshal ¶
type Reply ¶
type Reply struct { //返回状态码,0表示失败 Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status"` //返回信息描述 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message"` }
func (*Reply) Descriptor ¶
func (*Reply) GetMessage ¶
func (*Reply) ProtoMessage ¶
func (*Reply) ProtoMessage()
func (*Reply) XXX_DiscardUnknown ¶
func (m *Reply) XXX_DiscardUnknown()
func (*Reply) XXX_Marshal ¶
func (*Reply) XXX_Unmarshal ¶
type Sorted ¶
type Sorted struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Desc bool `protobuf:"varint,2,opt,name=desc,proto3" json:"desc,omitempty"` }
func (*Sorted) Descriptor ¶
func (*Sorted) MarshalToSizedBuffer ¶
func (*Sorted) ProtoMessage ¶
func (*Sorted) ProtoMessage()
func (*Sorted) XXX_DiscardUnknown ¶
func (m *Sorted) XXX_DiscardUnknown()
func (*Sorted) XXX_Marshal ¶
func (*Sorted) XXX_Unmarshal ¶
type StrIdReq ¶
type StrIdReq struct { // 主键id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" validate:"required"` }
func (*StrIdReq) Descriptor ¶
func (*StrIdReq) MarshalToSizedBuffer ¶
func (*StrIdReq) ProtoMessage ¶
func (*StrIdReq) ProtoMessage()
func (*StrIdReq) XXX_DiscardUnknown ¶
func (m *StrIdReq) XXX_DiscardUnknown()
func (*StrIdReq) XXX_Marshal ¶
func (*StrIdReq) XXX_Unmarshal ¶
type StrIdsReq ¶
type StrIdsReq struct {
Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids" validate:"required"`
}
func (*StrIdsReq) Descriptor ¶
func (*StrIdsReq) MarshalToSizedBuffer ¶
func (*StrIdsReq) ProtoMessage ¶
func (*StrIdsReq) ProtoMessage()
func (*StrIdsReq) XXX_DiscardUnknown ¶
func (m *StrIdsReq) XXX_DiscardUnknown()
func (*StrIdsReq) XXX_Marshal ¶
func (*StrIdsReq) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.