Versions in this module Expand all Collapse all v1 v1.0.2 Aug 14, 2021 Changes in this version type UserElement + Account string + Avatar string + Id uint64 + Name string + func (m *UserElement) GetAccount() string + func (m *UserElement) GetAvatar() string + func (m *UserElement) GetId() uint64 + func (m *UserElement) GetName() string v1.0.1 Aug 13, 2021 Changes in this version + func RegisterPairServer(s *grpc.Server, srv PairServer) + type ELeListRsq struct + Code int64 + Message string + Page int64 + PageSize int64 + Total int64 + UserElement []*UserElement + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ELeListRsq) Descriptor() ([]byte, []int) + func (*ELeListRsq) ProtoMessage() + func (m *ELeListRsq) GetCode() int64 + func (m *ELeListRsq) GetMessage() string + func (m *ELeListRsq) GetPage() int64 + func (m *ELeListRsq) GetPageSize() int64 + func (m *ELeListRsq) GetTotal() int64 + func (m *ELeListRsq) GetUserElement() []*UserElement + func (m *ELeListRsq) Reset() + func (m *ELeListRsq) String() string + func (m *ELeListRsq) XXX_DiscardUnknown() + func (m *ELeListRsq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ELeListRsq) XXX_Merge(src proto.Message) + func (m *ELeListRsq) XXX_Size() int + func (m *ELeListRsq) XXX_Unmarshal(b []byte) error + type EleListReq struct + Keyword string + Page int64 + PageSize int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*EleListReq) Descriptor() ([]byte, []int) + func (*EleListReq) ProtoMessage() + func (m *EleListReq) GetKeyword() string + func (m *EleListReq) GetPage() int64 + func (m *EleListReq) GetPageSize() int64 + func (m *EleListReq) Reset() + func (m *EleListReq) String() string + func (m *EleListReq) XXX_DiscardUnknown() + func (m *EleListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EleListReq) XXX_Merge(src proto.Message) + func (m *EleListReq) XXX_Size() int + func (m *EleListReq) XXX_Unmarshal(b []byte) error + type ElePairReq struct + Page int64 + PageSize int64 + Uid uint64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ElePairReq) Descriptor() ([]byte, []int) + func (*ElePairReq) ProtoMessage() + func (m *ElePairReq) GetPage() int64 + func (m *ElePairReq) GetPageSize() int64 + func (m *ElePairReq) GetUid() uint64 + func (m *ElePairReq) Reset() + func (m *ElePairReq) String() string + func (m *ElePairReq) XXX_DiscardUnknown() + func (m *ElePairReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ElePairReq) XXX_Merge(src proto.Message) + func (m *ElePairReq) XXX_Size() int + func (m *ElePairReq) XXX_Unmarshal(b []byte) error + type EleSaveReq struct + Element []*Element + Uid uint64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*EleSaveReq) Descriptor() ([]byte, []int) + func (*EleSaveReq) ProtoMessage() + func (m *EleSaveReq) GetElement() []*Element + func (m *EleSaveReq) GetUid() uint64 + func (m *EleSaveReq) Reset() + func (m *EleSaveReq) String() string + func (m *EleSaveReq) XXX_DiscardUnknown() + func (m *EleSaveReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EleSaveReq) XXX_Merge(src proto.Message) + func (m *EleSaveReq) XXX_Size() int + func (m *EleSaveReq) XXX_Unmarshal(b []byte) error + type EleViewReq struct + Uid uint64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*EleViewReq) Descriptor() ([]byte, []int) + func (*EleViewReq) ProtoMessage() + func (m *EleViewReq) GetUid() uint64 + func (m *EleViewReq) Reset() + func (m *EleViewReq) String() string + func (m *EleViewReq) XXX_DiscardUnknown() + func (m *EleViewReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EleViewReq) XXX_Merge(src proto.Message) + func (m *EleViewReq) XXX_Size() int + func (m *EleViewReq) XXX_Unmarshal(b []byte) error + type EleViewRsp struct + Code int64 + Element []*Element + Message string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*EleViewRsp) Descriptor() ([]byte, []int) + func (*EleViewRsp) ProtoMessage() + func (m *EleViewRsp) GetCode() int64 + func (m *EleViewRsp) GetElement() []*Element + func (m *EleViewRsp) GetMessage() string + func (m *EleViewRsp) Reset() + func (m *EleViewRsp) String() string + func (m *EleViewRsp) XXX_DiscardUnknown() + func (m *EleViewRsp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *EleViewRsp) XXX_Merge(src proto.Message) + func (m *EleViewRsp) XXX_Size() int + func (m *EleViewRsp) XXX_Unmarshal(b []byte) error + type Element struct + Mode string + Name string + Sort int64 + Star bool + Uid uint64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Element) Descriptor() ([]byte, []int) + func (*Element) ProtoMessage() + func (m *Element) GetMode() string + func (m *Element) GetName() string + func (m *Element) GetSort() int64 + func (m *Element) GetStar() bool + func (m *Element) GetUid() uint64 + func (m *Element) Reset() + func (m *Element) String() string + func (m *Element) XXX_DiscardUnknown() + func (m *Element) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Element) XXX_Merge(src proto.Message) + func (m *Element) XXX_Size() int + func (m *Element) XXX_Unmarshal(b []byte) error + type PairClient interface + ElementList func(ctx context.Context, in *EleListReq, opts ...grpc.CallOption) (*ELeListRsq, error) + ElementPair func(ctx context.Context, in *ElePairReq, opts ...grpc.CallOption) (*ELeListRsq, error) + ElementSave func(ctx context.Context, in *EleSaveReq, opts ...grpc.CallOption) (*Response, error) + ElementView func(ctx context.Context, in *EleViewReq, opts ...grpc.CallOption) (*EleViewRsp, error) + func NewPairClient(cc *grpc.ClientConn) PairClient + type PairServer interface + ElementList func(context.Context, *EleListReq) (*ELeListRsq, error) + ElementPair func(context.Context, *ElePairReq) (*ELeListRsq, error) + ElementSave func(context.Context, *EleSaveReq) (*Response, error) + ElementView func(context.Context, *EleViewReq) (*EleViewRsp, error) + type Response struct + Code int64 + Message string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (m *Response) GetCode() int64 + func (m *Response) GetMessage() string + func (m *Response) Reset() + func (m *Response) String() string + func (m *Response) XXX_DiscardUnknown() + func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Response) XXX_Merge(src proto.Message) + func (m *Response) XXX_Size() int + func (m *Response) XXX_Unmarshal(b []byte) error + type UnimplementedPairServer struct + func (*UnimplementedPairServer) ElementList(ctx context.Context, req *EleListReq) (*ELeListRsq, error) + func (*UnimplementedPairServer) ElementPair(ctx context.Context, req *ElePairReq) (*ELeListRsq, error) + func (*UnimplementedPairServer) ElementSave(ctx context.Context, req *EleSaveReq) (*Response, error) + func (*UnimplementedPairServer) ElementView(ctx context.Context, req *EleViewReq) (*EleViewRsp, error) + type UserElement struct + Element []*Element + Uid uint64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*UserElement) Descriptor() ([]byte, []int) + func (*UserElement) ProtoMessage() + func (m *UserElement) GetElement() []*Element + func (m *UserElement) GetUid() uint64 + func (m *UserElement) Reset() + func (m *UserElement) String() string + func (m *UserElement) XXX_DiscardUnknown() + func (m *UserElement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UserElement) XXX_Merge(src proto.Message) + func (m *UserElement) XXX_Size() int + func (m *UserElement) XXX_Unmarshal(b []byte) error