Documentation
¶
Overview ¶
Package v1 Code generated by go-common/app/tool/protoc-gen-bm. DO NOT EDIT.
Package v1 is a generated protocol buffer package. It is generated from these files: app/service/main/up/api/v1/api.proto app/service/main/up/api/v1/archive.proto app/service/main/up/api/v1/reply.proto app/service/main/up/api/v1/request.proto app/service/main/up/api/v1/sign_up.proto app/service/main/up/api/v1/up.proto It has these top-level messages: AidPubTime NoReply UpArcsReply UpsArcsReply UpCountReply UpsCountReply UpAidPubTimeReply UpsAidPubTimeReply UpActivityListReply UpGroupsReply UpSpecialReply UpsSpecialReply UpGroupMidsReply UpAttrReply UpBaseStatReply UpSwitchReply HighAllyUpsReply NoArgReq UpArcsReq UpsArcsReq UpCountReq UpsCountReq UpCacheReq UpListByLastIDReq UpSpecialReq UpsSpecialReq UpGroupMidsReq UpAttrReq UpStatReq UpSwitchReq HighAllyUpsReq SignUp UpActivity UpGroup UpSpecial
Package v1 is a generated GoMock package.
Index ¶
- Constants
- Variables
- func RegisterUpBMServer(e *bm.Engine, s BMUpServer)
- func RegisterUpServer(s *grpc.Server, srv UpServer)
- type AidPubTime
- func (*AidPubTime) Descriptor() ([]byte, []int)
- func (m *AidPubTime) GetAid() int64
- func (m *AidPubTime) GetCopyright() int32
- func (m *AidPubTime) GetPubDate() go_common_library_time.Time
- func (m *AidPubTime) Marshal() (dAtA []byte, err error)
- func (m *AidPubTime) MarshalTo(dAtA []byte) (int, error)
- func (*AidPubTime) ProtoMessage()
- func (m *AidPubTime) Reset()
- func (m *AidPubTime) Size() (n int)
- func (m *AidPubTime) String() string
- func (m *AidPubTime) Unmarshal(dAtA []byte) error
- type BMUpServer
- type HighAllyUpsReply
- func (*HighAllyUpsReply) Descriptor() ([]byte, []int)
- func (m *HighAllyUpsReply) GetLists() map[int64]*SignUp
- func (m *HighAllyUpsReply) Marshal() (dAtA []byte, err error)
- func (m *HighAllyUpsReply) MarshalTo(dAtA []byte) (int, error)
- func (*HighAllyUpsReply) ProtoMessage()
- func (m *HighAllyUpsReply) Reset()
- func (m *HighAllyUpsReply) Size() (n int)
- func (m *HighAllyUpsReply) String() string
- func (m *HighAllyUpsReply) Unmarshal(dAtA []byte) error
- type HighAllyUpsReq
- func (*HighAllyUpsReq) Descriptor() ([]byte, []int)
- func (m *HighAllyUpsReq) GetMids() []int64
- func (m *HighAllyUpsReq) Marshal() (dAtA []byte, err error)
- func (m *HighAllyUpsReq) MarshalTo(dAtA []byte) (int, error)
- func (*HighAllyUpsReq) ProtoMessage()
- func (m *HighAllyUpsReq) Reset()
- func (m *HighAllyUpsReq) Size() (n int)
- func (m *HighAllyUpsReq) String() string
- func (m *HighAllyUpsReq) Unmarshal(dAtA []byte) error
- type MockUpClient
- func (m *MockUpClient) AddUpPassedCache(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error)
- func (m *MockUpClient) AddUpPassedCacheByStaff(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error)
- func (m *MockUpClient) DelUpPassedCache(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error)
- func (m *MockUpClient) DelUpPassedCacheByStaff(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error)
- func (m *MockUpClient) EXPECT() *MockUpClientMockRecorder
- func (m *MockUpClient) GetHighAllyUps(ctx context.Context, in *HighAllyUpsReq, opts ...grpc.CallOption) (*HighAllyUpsReply, error)
- func (m *MockUpClient) SetUpSwitch(ctx context.Context, in *UpSwitchReq, opts ...grpc.CallOption) (*NoReply, error)
- func (m *MockUpClient) UpArcs(ctx context.Context, in *UpArcsReq, opts ...grpc.CallOption) (*UpArcsReply, error)
- func (m *MockUpClient) UpAttr(ctx context.Context, in *UpAttrReq, opts ...grpc.CallOption) (*UpAttrReply, error)
- func (m *MockUpClient) UpBaseStats(ctx context.Context, in *UpStatReq, opts ...grpc.CallOption) (*UpBaseStatReply, error)
- func (m *MockUpClient) UpCount(ctx context.Context, in *UpCountReq, opts ...grpc.CallOption) (*UpCountReply, error)
- func (m *MockUpClient) UpGroupMids(ctx context.Context, in *UpGroupMidsReq, opts ...grpc.CallOption) (*UpGroupMidsReply, error)
- func (m *MockUpClient) UpGroups(ctx context.Context, in *NoArgReq, opts ...grpc.CallOption) (*UpGroupsReply, error)
- func (m *MockUpClient) UpInfoActivitys(ctx context.Context, in *UpListByLastIDReq, opts ...grpc.CallOption) (*UpActivityListReply, error)
- func (m *MockUpClient) UpSpecial(ctx context.Context, in *UpSpecialReq, opts ...grpc.CallOption) (*UpSpecialReply, error)
- func (m *MockUpClient) UpSwitch(ctx context.Context, in *UpSwitchReq, opts ...grpc.CallOption) (*UpSwitchReply, error)
- func (m *MockUpClient) UpsAidPubTime(ctx context.Context, in *UpsArcsReq, opts ...grpc.CallOption) (*UpsAidPubTimeReply, error)
- func (m *MockUpClient) UpsArcs(ctx context.Context, in *UpsArcsReq, opts ...grpc.CallOption) (*UpsArcsReply, error)
- func (m *MockUpClient) UpsCount(ctx context.Context, in *UpsCountReq, opts ...grpc.CallOption) (*UpsCountReply, error)
- func (m *MockUpClient) UpsSpecial(ctx context.Context, in *UpsSpecialReq, opts ...grpc.CallOption) (*UpsSpecialReply, error)
- type MockUpClientMockRecorder
- func (mr *MockUpClientMockRecorder) AddUpPassedCache(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) AddUpPassedCacheByStaff(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) DelUpPassedCache(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) DelUpPassedCacheByStaff(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) GetHighAllyUps(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) SetUpSwitch(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) UpArcs(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) UpAttr(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) UpBaseStats(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) UpCount(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) UpGroupMids(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) UpGroups(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) UpInfoActivitys(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) UpSpecial(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) UpSwitch(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) UpsAidPubTime(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) UpsArcs(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) UpsCount(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockUpClientMockRecorder) UpsSpecial(ctx, in interface{}, opts ...interface{}) *gomock.Call
- type MockUpServer
- func (m *MockUpServer) AddUpPassedCache(arg0 context.Context, arg1 *UpCacheReq) (*NoReply, error)
- func (m *MockUpServer) AddUpPassedCacheByStaff(arg0 context.Context, arg1 *UpCacheReq) (*NoReply, error)
- func (m *MockUpServer) DelUpPassedCache(arg0 context.Context, arg1 *UpCacheReq) (*NoReply, error)
- func (m *MockUpServer) DelUpPassedCacheByStaff(arg0 context.Context, arg1 *UpCacheReq) (*NoReply, error)
- func (m *MockUpServer) EXPECT() *MockUpServerMockRecorder
- func (m *MockUpServer) GetHighAllyUps(arg0 context.Context, arg1 *HighAllyUpsReq) (*HighAllyUpsReply, error)
- func (m *MockUpServer) SetUpSwitch(arg0 context.Context, arg1 *UpSwitchReq) (*NoReply, error)
- func (m *MockUpServer) UpArcs(arg0 context.Context, arg1 *UpArcsReq) (*UpArcsReply, error)
- func (m *MockUpServer) UpAttr(arg0 context.Context, arg1 *UpAttrReq) (*UpAttrReply, error)
- func (m *MockUpServer) UpBaseStats(arg0 context.Context, arg1 *UpStatReq) (*UpBaseStatReply, error)
- func (m *MockUpServer) UpCount(arg0 context.Context, arg1 *UpCountReq) (*UpCountReply, error)
- func (m *MockUpServer) UpGroupMids(arg0 context.Context, arg1 *UpGroupMidsReq) (*UpGroupMidsReply, error)
- func (m *MockUpServer) UpGroups(arg0 context.Context, arg1 *NoArgReq) (*UpGroupsReply, error)
- func (m *MockUpServer) UpInfoActivitys(arg0 context.Context, arg1 *UpListByLastIDReq) (*UpActivityListReply, error)
- func (m *MockUpServer) UpSpecial(arg0 context.Context, arg1 *UpSpecialReq) (*UpSpecialReply, error)
- func (m *MockUpServer) UpSwitch(arg0 context.Context, arg1 *UpSwitchReq) (*UpSwitchReply, error)
- func (m *MockUpServer) UpsAidPubTime(arg0 context.Context, arg1 *UpsArcsReq) (*UpsAidPubTimeReply, error)
- func (m *MockUpServer) UpsArcs(arg0 context.Context, arg1 *UpsArcsReq) (*UpsArcsReply, error)
- func (m *MockUpServer) UpsCount(arg0 context.Context, arg1 *UpsCountReq) (*UpsCountReply, error)
- func (m *MockUpServer) UpsSpecial(arg0 context.Context, arg1 *UpsSpecialReq) (*UpsSpecialReply, error)
- type MockUpServerMockRecorder
- func (mr *MockUpServerMockRecorder) AddUpPassedCache(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) AddUpPassedCacheByStaff(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) DelUpPassedCache(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) DelUpPassedCacheByStaff(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) GetHighAllyUps(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) SetUpSwitch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) UpArcs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) UpAttr(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) UpBaseStats(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) UpCount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) UpGroupMids(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) UpGroups(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) UpInfoActivitys(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) UpSpecial(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) UpSwitch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) UpsAidPubTime(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) UpsArcs(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) UpsCount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUpServerMockRecorder) UpsSpecial(arg0, arg1 interface{}) *gomock.Call
- type NoArgReq
- func (*NoArgReq) Descriptor() ([]byte, []int)
- func (m *NoArgReq) Marshal() (dAtA []byte, err error)
- func (m *NoArgReq) MarshalTo(dAtA []byte) (int, error)
- func (*NoArgReq) ProtoMessage()
- func (m *NoArgReq) Reset()
- func (m *NoArgReq) Size() (n int)
- func (m *NoArgReq) String() string
- func (m *NoArgReq) Unmarshal(dAtA []byte) error
- type NoReply
- func (*NoReply) Descriptor() ([]byte, []int)
- func (m *NoReply) Marshal() (dAtA []byte, err error)
- func (m *NoReply) MarshalTo(dAtA []byte) (int, error)
- func (*NoReply) ProtoMessage()
- func (m *NoReply) Reset()
- func (m *NoReply) Size() (n int)
- func (m *NoReply) String() string
- func (m *NoReply) Unmarshal(dAtA []byte) error
- type SignUp
- func (*SignUp) Descriptor() ([]byte, []int)
- func (m *SignUp) GetBeginDate() go_common_library_time.Time
- func (m *SignUp) GetEndDate() go_common_library_time.Time
- func (m *SignUp) GetMid() int64
- func (m *SignUp) GetState() int32
- func (m *SignUp) Marshal() (dAtA []byte, err error)
- func (m *SignUp) MarshalTo(dAtA []byte) (int, error)
- func (*SignUp) ProtoMessage()
- func (m *SignUp) Reset()
- func (m *SignUp) Size() (n int)
- func (m *SignUp) String() string
- func (m *SignUp) Unmarshal(dAtA []byte) error
- type UpActivity
- func (*UpActivity) Descriptor() ([]byte, []int)
- func (m *UpActivity) GetActivity() int8
- func (m *UpActivity) GetMid() int64
- func (m *UpActivity) Marshal() (dAtA []byte, err error)
- func (m *UpActivity) MarshalTo(dAtA []byte) (int, error)
- func (*UpActivity) ProtoMessage()
- func (m *UpActivity) Reset()
- func (m *UpActivity) Size() (n int)
- func (m *UpActivity) String() string
- func (m *UpActivity) Unmarshal(dAtA []byte) error
- type UpActivityListReply
- func (*UpActivityListReply) Descriptor() ([]byte, []int)
- func (m *UpActivityListReply) GetLastID() int64
- func (m *UpActivityListReply) GetUpActivitys() []*UpActivity
- func (m *UpActivityListReply) Marshal() (dAtA []byte, err error)
- func (m *UpActivityListReply) MarshalTo(dAtA []byte) (int, error)
- func (*UpActivityListReply) ProtoMessage()
- func (m *UpActivityListReply) Reset()
- func (m *UpActivityListReply) Size() (n int)
- func (m *UpActivityListReply) String() string
- func (m *UpActivityListReply) Unmarshal(dAtA []byte) error
- type UpAidPubTimeReply
- func (*UpAidPubTimeReply) Descriptor() ([]byte, []int)
- func (m *UpAidPubTimeReply) GetArchives() []*AidPubTime
- func (m *UpAidPubTimeReply) Marshal() (dAtA []byte, err error)
- func (m *UpAidPubTimeReply) MarshalTo(dAtA []byte) (int, error)
- func (*UpAidPubTimeReply) ProtoMessage()
- func (m *UpAidPubTimeReply) Reset()
- func (m *UpAidPubTimeReply) Size() (n int)
- func (m *UpAidPubTimeReply) String() string
- func (m *UpAidPubTimeReply) Unmarshal(dAtA []byte) error
- type UpArcsReply
- func (*UpArcsReply) Descriptor() ([]byte, []int)
- func (m *UpArcsReply) GetArchives() []*archive_service_v1.Arc
- func (m *UpArcsReply) Marshal() (dAtA []byte, err error)
- func (m *UpArcsReply) MarshalTo(dAtA []byte) (int, error)
- func (*UpArcsReply) ProtoMessage()
- func (m *UpArcsReply) Reset()
- func (m *UpArcsReply) Size() (n int)
- func (m *UpArcsReply) String() string
- func (m *UpArcsReply) Unmarshal(dAtA []byte) error
- type UpArcsReq
- func (*UpArcsReq) Descriptor() ([]byte, []int)
- func (m *UpArcsReq) GetMid() int64
- func (m *UpArcsReq) GetPn() int32
- func (m *UpArcsReq) GetPs() int32
- func (m *UpArcsReq) Marshal() (dAtA []byte, err error)
- func (m *UpArcsReq) MarshalTo(dAtA []byte) (int, error)
- func (*UpArcsReq) ProtoMessage()
- func (m *UpArcsReq) Reset()
- func (m *UpArcsReq) Size() (n int)
- func (m *UpArcsReq) String() string
- func (m *UpArcsReq) Unmarshal(dAtA []byte) error
- type UpAttrReply
- func (*UpAttrReply) Descriptor() ([]byte, []int)
- func (m *UpAttrReply) GetIsAuthor() uint8
- func (m *UpAttrReply) Marshal() (dAtA []byte, err error)
- func (m *UpAttrReply) MarshalTo(dAtA []byte) (int, error)
- func (*UpAttrReply) ProtoMessage()
- func (m *UpAttrReply) Reset()
- func (m *UpAttrReply) Size() (n int)
- func (m *UpAttrReply) String() string
- func (m *UpAttrReply) Unmarshal(dAtA []byte) error
- type UpAttrReq
- func (*UpAttrReq) Descriptor() ([]byte, []int)
- func (m *UpAttrReq) GetFrom() uint8
- func (m *UpAttrReq) GetMid() int64
- func (m *UpAttrReq) Marshal() (dAtA []byte, err error)
- func (m *UpAttrReq) MarshalTo(dAtA []byte) (int, error)
- func (*UpAttrReq) ProtoMessage()
- func (m *UpAttrReq) Reset()
- func (m *UpAttrReq) Size() (n int)
- func (m *UpAttrReq) String() string
- func (m *UpAttrReq) Unmarshal(dAtA []byte) error
- type UpBaseStatReply
- func (*UpBaseStatReply) Descriptor() ([]byte, []int)
- func (m *UpBaseStatReply) GetDm() int64
- func (m *UpBaseStatReply) GetFans() int64
- func (m *UpBaseStatReply) GetFav() int64
- func (m *UpBaseStatReply) GetLike() int64
- func (m *UpBaseStatReply) GetReply() int64
- func (m *UpBaseStatReply) GetView() int64
- func (m *UpBaseStatReply) Marshal() (dAtA []byte, err error)
- func (m *UpBaseStatReply) MarshalTo(dAtA []byte) (int, error)
- func (*UpBaseStatReply) ProtoMessage()
- func (m *UpBaseStatReply) Reset()
- func (m *UpBaseStatReply) Size() (n int)
- func (m *UpBaseStatReply) String() string
- func (m *UpBaseStatReply) Unmarshal(dAtA []byte) error
- type UpCacheReq
- func (*UpCacheReq) Descriptor() ([]byte, []int)
- func (m *UpCacheReq) GetAid() int64
- func (m *UpCacheReq) GetMid() int64
- func (m *UpCacheReq) Marshal() (dAtA []byte, err error)
- func (m *UpCacheReq) MarshalTo(dAtA []byte) (int, error)
- func (*UpCacheReq) ProtoMessage()
- func (m *UpCacheReq) Reset()
- func (m *UpCacheReq) Size() (n int)
- func (m *UpCacheReq) String() string
- func (m *UpCacheReq) Unmarshal(dAtA []byte) error
- type UpClient
- type UpCountReply
- func (*UpCountReply) Descriptor() ([]byte, []int)
- func (m *UpCountReply) GetCount() int64
- func (m *UpCountReply) Marshal() (dAtA []byte, err error)
- func (m *UpCountReply) MarshalTo(dAtA []byte) (int, error)
- func (*UpCountReply) ProtoMessage()
- func (m *UpCountReply) Reset()
- func (m *UpCountReply) Size() (n int)
- func (m *UpCountReply) String() string
- func (m *UpCountReply) Unmarshal(dAtA []byte) error
- type UpCountReq
- func (*UpCountReq) Descriptor() ([]byte, []int)
- func (m *UpCountReq) GetMid() int64
- func (m *UpCountReq) Marshal() (dAtA []byte, err error)
- func (m *UpCountReq) MarshalTo(dAtA []byte) (int, error)
- func (*UpCountReq) ProtoMessage()
- func (m *UpCountReq) Reset()
- func (m *UpCountReq) Size() (n int)
- func (m *UpCountReq) String() string
- func (m *UpCountReq) Unmarshal(dAtA []byte) error
- type UpGroup
- func (*UpGroup) Descriptor() ([]byte, []int)
- func (m *UpGroup) GetBgColor() string
- func (m *UpGroup) GetFontColor() string
- func (m *UpGroup) GetID() int64
- func (m *UpGroup) GetName() string
- func (m *UpGroup) GetNote() string
- func (m *UpGroup) GetShortTag() string
- func (m *UpGroup) GetTag() string
- func (m *UpGroup) Marshal() (dAtA []byte, err error)
- func (m *UpGroup) MarshalTo(dAtA []byte) (int, error)
- func (*UpGroup) ProtoMessage()
- func (m *UpGroup) Reset()
- func (m *UpGroup) Size() (n int)
- func (m *UpGroup) String() string
- func (m *UpGroup) Unmarshal(dAtA []byte) error
- type UpGroupMidsReply
- func (*UpGroupMidsReply) Descriptor() ([]byte, []int)
- func (m *UpGroupMidsReply) GetMids() []int64
- func (m *UpGroupMidsReply) GetTotal() int
- func (m *UpGroupMidsReply) Marshal() (dAtA []byte, err error)
- func (m *UpGroupMidsReply) MarshalTo(dAtA []byte) (int, error)
- func (*UpGroupMidsReply) ProtoMessage()
- func (m *UpGroupMidsReply) Reset()
- func (m *UpGroupMidsReply) Size() (n int)
- func (m *UpGroupMidsReply) String() string
- func (m *UpGroupMidsReply) Unmarshal(dAtA []byte) error
- type UpGroupMidsReq
- func (*UpGroupMidsReq) Descriptor() ([]byte, []int)
- func (m *UpGroupMidsReq) GetGroupID() int64
- func (m *UpGroupMidsReq) GetPn() int
- func (m *UpGroupMidsReq) GetPs() int
- func (m *UpGroupMidsReq) Marshal() (dAtA []byte, err error)
- func (m *UpGroupMidsReq) MarshalTo(dAtA []byte) (int, error)
- func (*UpGroupMidsReq) ProtoMessage()
- func (m *UpGroupMidsReq) Reset()
- func (m *UpGroupMidsReq) Size() (n int)
- func (m *UpGroupMidsReq) String() string
- func (m *UpGroupMidsReq) Unmarshal(dAtA []byte) error
- type UpGroupsReply
- func (*UpGroupsReply) Descriptor() ([]byte, []int)
- func (m *UpGroupsReply) GetUpGroups() map[int64]*UpGroup
- func (m *UpGroupsReply) Marshal() (dAtA []byte, err error)
- func (m *UpGroupsReply) MarshalTo(dAtA []byte) (int, error)
- func (*UpGroupsReply) ProtoMessage()
- func (m *UpGroupsReply) Reset()
- func (m *UpGroupsReply) Size() (n int)
- func (m *UpGroupsReply) String() string
- func (m *UpGroupsReply) Unmarshal(dAtA []byte) error
- type UpListByLastIDReq
- func (*UpListByLastIDReq) Descriptor() ([]byte, []int)
- func (m *UpListByLastIDReq) GetLastID() int64
- func (m *UpListByLastIDReq) GetPs() int
- func (m *UpListByLastIDReq) Marshal() (dAtA []byte, err error)
- func (m *UpListByLastIDReq) MarshalTo(dAtA []byte) (int, error)
- func (*UpListByLastIDReq) ProtoMessage()
- func (m *UpListByLastIDReq) Reset()
- func (m *UpListByLastIDReq) Size() (n int)
- func (m *UpListByLastIDReq) String() string
- func (m *UpListByLastIDReq) Unmarshal(dAtA []byte) error
- type UpServer
- type UpSpecial
- func (*UpSpecial) Descriptor() ([]byte, []int)
- func (m *UpSpecial) GetGroupIDs() []int64
- func (m *UpSpecial) Marshal() (dAtA []byte, err error)
- func (m *UpSpecial) MarshalTo(dAtA []byte) (int, error)
- func (*UpSpecial) ProtoMessage()
- func (m *UpSpecial) Reset()
- func (m *UpSpecial) Size() (n int)
- func (m *UpSpecial) String() string
- func (m *UpSpecial) Unmarshal(dAtA []byte) error
- type UpSpecialReply
- func (*UpSpecialReply) Descriptor() ([]byte, []int)
- func (m *UpSpecialReply) GetUpSpecial() *UpSpecial
- func (m *UpSpecialReply) Marshal() (dAtA []byte, err error)
- func (m *UpSpecialReply) MarshalTo(dAtA []byte) (int, error)
- func (*UpSpecialReply) ProtoMessage()
- func (m *UpSpecialReply) Reset()
- func (m *UpSpecialReply) Size() (n int)
- func (m *UpSpecialReply) String() string
- func (m *UpSpecialReply) Unmarshal(dAtA []byte) error
- type UpSpecialReq
- func (*UpSpecialReq) Descriptor() ([]byte, []int)
- func (m *UpSpecialReq) GetMid() int64
- func (m *UpSpecialReq) Marshal() (dAtA []byte, err error)
- func (m *UpSpecialReq) MarshalTo(dAtA []byte) (int, error)
- func (*UpSpecialReq) ProtoMessage()
- func (m *UpSpecialReq) Reset()
- func (m *UpSpecialReq) Size() (n int)
- func (m *UpSpecialReq) String() string
- func (m *UpSpecialReq) Unmarshal(dAtA []byte) error
- type UpStatReq
- func (*UpStatReq) Descriptor() ([]byte, []int)
- func (m *UpStatReq) GetDate() go_common_library_time.Time
- func (m *UpStatReq) GetMid() int64
- func (m *UpStatReq) Marshal() (dAtA []byte, err error)
- func (m *UpStatReq) MarshalTo(dAtA []byte) (int, error)
- func (*UpStatReq) ProtoMessage()
- func (m *UpStatReq) Reset()
- func (m *UpStatReq) Size() (n int)
- func (m *UpStatReq) String() string
- func (m *UpStatReq) Unmarshal(dAtA []byte) error
- type UpSwitchReply
- func (*UpSwitchReply) Descriptor() ([]byte, []int)
- func (m *UpSwitchReply) GetState() uint8
- func (m *UpSwitchReply) Marshal() (dAtA []byte, err error)
- func (m *UpSwitchReply) MarshalTo(dAtA []byte) (int, error)
- func (*UpSwitchReply) ProtoMessage()
- func (m *UpSwitchReply) Reset()
- func (m *UpSwitchReply) Size() (n int)
- func (m *UpSwitchReply) String() string
- func (m *UpSwitchReply) Unmarshal(dAtA []byte) error
- type UpSwitchReq
- func (*UpSwitchReq) Descriptor() ([]byte, []int)
- func (m *UpSwitchReq) GetFrom() uint8
- func (m *UpSwitchReq) GetMid() int64
- func (m *UpSwitchReq) GetState() uint8
- func (m *UpSwitchReq) Marshal() (dAtA []byte, err error)
- func (m *UpSwitchReq) MarshalTo(dAtA []byte) (int, error)
- func (*UpSwitchReq) ProtoMessage()
- func (m *UpSwitchReq) Reset()
- func (m *UpSwitchReq) Size() (n int)
- func (m *UpSwitchReq) String() string
- func (m *UpSwitchReq) Unmarshal(dAtA []byte) error
- type UpsAidPubTimeReply
- func (*UpsAidPubTimeReply) Descriptor() ([]byte, []int)
- func (m *UpsAidPubTimeReply) GetArchives() map[int64]*UpAidPubTimeReply
- func (m *UpsAidPubTimeReply) Marshal() (dAtA []byte, err error)
- func (m *UpsAidPubTimeReply) MarshalTo(dAtA []byte) (int, error)
- func (*UpsAidPubTimeReply) ProtoMessage()
- func (m *UpsAidPubTimeReply) Reset()
- func (m *UpsAidPubTimeReply) Size() (n int)
- func (m *UpsAidPubTimeReply) String() string
- func (m *UpsAidPubTimeReply) Unmarshal(dAtA []byte) error
- type UpsArcsReply
- func (*UpsArcsReply) Descriptor() ([]byte, []int)
- func (m *UpsArcsReply) GetArchives() map[int64]*UpArcsReply
- func (m *UpsArcsReply) Marshal() (dAtA []byte, err error)
- func (m *UpsArcsReply) MarshalTo(dAtA []byte) (int, error)
- func (*UpsArcsReply) ProtoMessage()
- func (m *UpsArcsReply) Reset()
- func (m *UpsArcsReply) Size() (n int)
- func (m *UpsArcsReply) String() string
- func (m *UpsArcsReply) Unmarshal(dAtA []byte) error
- type UpsArcsReq
- func (*UpsArcsReq) Descriptor() ([]byte, []int)
- func (m *UpsArcsReq) GetMids() []int64
- func (m *UpsArcsReq) GetPn() int32
- func (m *UpsArcsReq) GetPs() int32
- func (m *UpsArcsReq) Marshal() (dAtA []byte, err error)
- func (m *UpsArcsReq) MarshalTo(dAtA []byte) (int, error)
- func (*UpsArcsReq) ProtoMessage()
- func (m *UpsArcsReq) Reset()
- func (m *UpsArcsReq) Size() (n int)
- func (m *UpsArcsReq) String() string
- func (m *UpsArcsReq) Unmarshal(dAtA []byte) error
- type UpsCountReply
- func (*UpsCountReply) Descriptor() ([]byte, []int)
- func (m *UpsCountReply) GetCount() map[int64]int64
- func (m *UpsCountReply) Marshal() (dAtA []byte, err error)
- func (m *UpsCountReply) MarshalTo(dAtA []byte) (int, error)
- func (*UpsCountReply) ProtoMessage()
- func (m *UpsCountReply) Reset()
- func (m *UpsCountReply) Size() (n int)
- func (m *UpsCountReply) String() string
- func (m *UpsCountReply) Unmarshal(dAtA []byte) error
- type UpsCountReq
- func (*UpsCountReq) Descriptor() ([]byte, []int)
- func (m *UpsCountReq) GetMids() []int64
- func (m *UpsCountReq) Marshal() (dAtA []byte, err error)
- func (m *UpsCountReq) MarshalTo(dAtA []byte) (int, error)
- func (*UpsCountReq) ProtoMessage()
- func (m *UpsCountReq) Reset()
- func (m *UpsCountReq) Size() (n int)
- func (m *UpsCountReq) String() string
- func (m *UpsCountReq) Unmarshal(dAtA []byte) error
- type UpsSpecialReply
- func (*UpsSpecialReply) Descriptor() ([]byte, []int)
- func (m *UpsSpecialReply) GetUpSpecials() map[int64]*UpSpecial
- func (m *UpsSpecialReply) Marshal() (dAtA []byte, err error)
- func (m *UpsSpecialReply) MarshalTo(dAtA []byte) (int, error)
- func (*UpsSpecialReply) ProtoMessage()
- func (m *UpsSpecialReply) Reset()
- func (m *UpsSpecialReply) Size() (n int)
- func (m *UpsSpecialReply) String() string
- func (m *UpsSpecialReply) Unmarshal(dAtA []byte) error
- type UpsSpecialReq
- func (*UpsSpecialReq) Descriptor() ([]byte, []int)
- func (m *UpsSpecialReq) GetMids() []int64
- func (m *UpsSpecialReq) Marshal() (dAtA []byte, err error)
- func (m *UpsSpecialReq) MarshalTo(dAtA []byte) (int, error)
- func (*UpsSpecialReq) ProtoMessage()
- func (m *UpsSpecialReq) Reset()
- func (m *UpsSpecialReq) Size() (n int)
- func (m *UpsSpecialReq) String() string
- func (m *UpsSpecialReq) Unmarshal(dAtA []byte) error
Constants ¶
const AppID = "archive.service.up"
AppID unique app id for service discovery
Variables ¶
var ( ErrInvalidLengthArchive = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowArchive = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthReply = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowReply = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthRequest = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRequest = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthSignUp = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSignUp = fmt.Errorf("proto: integer overflow") )
var ( ErrInvalidLengthUp = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowUp = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterUpBMServer ¶
func RegisterUpBMServer(e *bm.Engine, s BMUpServer)
RegisterUpBMServer register bm server
func RegisterUpServer ¶
Types ¶
type AidPubTime ¶
type AidPubTime struct { // aid 稿件aid Aid int64 `protobuf:"varint,1,opt,name=aid,proto3" json:"aid"` // pub_date 发布时间 PubDate go_common_library_time.Time `protobuf:"varint,2,opt,name=pub_date,json=pubDate,proto3,casttype=go-common/library/time.Time" json:"pubdate"` // copyright 版权来源 Copyright int32 `protobuf:"varint,3,opt,name=copyright,proto3" json:"copyright"` }
AidPubTime 发布时间的稿件aid的信息
func (*AidPubTime) Descriptor ¶
func (*AidPubTime) Descriptor() ([]byte, []int)
func (*AidPubTime) GetAid ¶
func (m *AidPubTime) GetAid() int64
func (*AidPubTime) GetCopyright ¶
func (m *AidPubTime) GetCopyright() int32
func (*AidPubTime) GetPubDate ¶
func (m *AidPubTime) GetPubDate() go_common_library_time.Time
func (*AidPubTime) Marshal ¶
func (m *AidPubTime) Marshal() (dAtA []byte, err error)
func (*AidPubTime) ProtoMessage ¶
func (*AidPubTime) ProtoMessage()
func (*AidPubTime) Reset ¶
func (m *AidPubTime) Reset()
func (*AidPubTime) Size ¶
func (m *AidPubTime) Size() (n int)
func (*AidPubTime) String ¶
func (m *AidPubTime) String() string
func (*AidPubTime) Unmarshal ¶
func (m *AidPubTime) Unmarshal(dAtA []byte) error
type BMUpServer ¶
type BMUpServer interface { UpArcs(context.Context, *UpArcsReq) (*UpArcsReply, error) UpsArcs(context.Context, *UpsArcsReq) (*UpsArcsReply, error) UpCount(context.Context, *UpCountReq) (*UpCountReply, error) UpsCount(context.Context, *UpsCountReq) (*UpsCountReply, error) }
BMUpServer interface as same as gGRPC server define
type HighAllyUpsReply ¶
type HighAllyUpsReply struct {
Lists map[int64]*SignUp `` /* 138-byte string literal not displayed */
}
HighAllyUpsReply 高能联盟up主map返回值
func (*HighAllyUpsReply) Descriptor ¶
func (*HighAllyUpsReply) Descriptor() ([]byte, []int)
func (*HighAllyUpsReply) GetLists ¶
func (m *HighAllyUpsReply) GetLists() map[int64]*SignUp
func (*HighAllyUpsReply) Marshal ¶
func (m *HighAllyUpsReply) Marshal() (dAtA []byte, err error)
func (*HighAllyUpsReply) ProtoMessage ¶
func (*HighAllyUpsReply) ProtoMessage()
func (*HighAllyUpsReply) Reset ¶
func (m *HighAllyUpsReply) Reset()
func (*HighAllyUpsReply) Size ¶
func (m *HighAllyUpsReply) Size() (n int)
func (*HighAllyUpsReply) String ¶
func (m *HighAllyUpsReply) String() string
func (*HighAllyUpsReply) Unmarshal ¶
func (m *HighAllyUpsReply) Unmarshal(dAtA []byte) error
type HighAllyUpsReq ¶
type HighAllyUpsReq struct { // mids 用户id数组 必传 Mids []int64 `protobuf:"varint,1,rep,packed,name=mids" json:"mids,omitempty" form:"mids" validate:"required"` }
HighAllyUpReq 高能联盟up主请求参数
func (*HighAllyUpsReq) Descriptor ¶
func (*HighAllyUpsReq) Descriptor() ([]byte, []int)
func (*HighAllyUpsReq) GetMids ¶
func (m *HighAllyUpsReq) GetMids() []int64
func (*HighAllyUpsReq) Marshal ¶
func (m *HighAllyUpsReq) Marshal() (dAtA []byte, err error)
func (*HighAllyUpsReq) ProtoMessage ¶
func (*HighAllyUpsReq) ProtoMessage()
func (*HighAllyUpsReq) Reset ¶
func (m *HighAllyUpsReq) Reset()
func (*HighAllyUpsReq) Size ¶
func (m *HighAllyUpsReq) Size() (n int)
func (*HighAllyUpsReq) String ¶
func (m *HighAllyUpsReq) String() string
func (*HighAllyUpsReq) Unmarshal ¶
func (m *HighAllyUpsReq) Unmarshal(dAtA []byte) error
type MockUpClient ¶
type MockUpClient struct {
// contains filtered or unexported fields
}
MockUpClient is a mock of UpClient interface
func NewMockUpClient ¶
func NewMockUpClient(ctrl *gomock.Controller) *MockUpClient
NewMockUpClient creates a new mock instance
func (*MockUpClient) AddUpPassedCache ¶
func (m *MockUpClient) AddUpPassedCache(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error)
AddUpPassedCache mocks base method
func (*MockUpClient) AddUpPassedCacheByStaff ¶
func (m *MockUpClient) AddUpPassedCacheByStaff(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error)
AddUpPassedCacheByStaff mocks base method
func (*MockUpClient) DelUpPassedCache ¶
func (m *MockUpClient) DelUpPassedCache(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error)
DelUpPassedCache mocks base method
func (*MockUpClient) DelUpPassedCacheByStaff ¶
func (m *MockUpClient) DelUpPassedCacheByStaff(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error)
DelUpPassedCacheByStaff mocks base method
func (*MockUpClient) EXPECT ¶
func (m *MockUpClient) EXPECT() *MockUpClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUpClient) GetHighAllyUps ¶
func (m *MockUpClient) GetHighAllyUps(ctx context.Context, in *HighAllyUpsReq, opts ...grpc.CallOption) (*HighAllyUpsReply, error)
GetHighAllyUps mocks base method
func (*MockUpClient) SetUpSwitch ¶
func (m *MockUpClient) SetUpSwitch(ctx context.Context, in *UpSwitchReq, opts ...grpc.CallOption) (*NoReply, error)
SetUpSwitch mocks base method
func (*MockUpClient) UpArcs ¶
func (m *MockUpClient) UpArcs(ctx context.Context, in *UpArcsReq, opts ...grpc.CallOption) (*UpArcsReply, error)
UpArcs mocks base method
func (*MockUpClient) UpAttr ¶
func (m *MockUpClient) UpAttr(ctx context.Context, in *UpAttrReq, opts ...grpc.CallOption) (*UpAttrReply, error)
UpAttr mocks base method
func (*MockUpClient) UpBaseStats ¶
func (m *MockUpClient) UpBaseStats(ctx context.Context, in *UpStatReq, opts ...grpc.CallOption) (*UpBaseStatReply, error)
UpBaseStats mocks base method
func (*MockUpClient) UpCount ¶
func (m *MockUpClient) UpCount(ctx context.Context, in *UpCountReq, opts ...grpc.CallOption) (*UpCountReply, error)
UpCount mocks base method
func (*MockUpClient) UpGroupMids ¶
func (m *MockUpClient) UpGroupMids(ctx context.Context, in *UpGroupMidsReq, opts ...grpc.CallOption) (*UpGroupMidsReply, error)
UpGroupMids mocks base method
func (*MockUpClient) UpGroups ¶
func (m *MockUpClient) UpGroups(ctx context.Context, in *NoArgReq, opts ...grpc.CallOption) (*UpGroupsReply, error)
UpGroups mocks base method
func (*MockUpClient) UpInfoActivitys ¶
func (m *MockUpClient) UpInfoActivitys(ctx context.Context, in *UpListByLastIDReq, opts ...grpc.CallOption) (*UpActivityListReply, error)
UpInfoActivitys mocks base method
func (*MockUpClient) UpSpecial ¶
func (m *MockUpClient) UpSpecial(ctx context.Context, in *UpSpecialReq, opts ...grpc.CallOption) (*UpSpecialReply, error)
UpSpecial mocks base method
func (*MockUpClient) UpSwitch ¶
func (m *MockUpClient) UpSwitch(ctx context.Context, in *UpSwitchReq, opts ...grpc.CallOption) (*UpSwitchReply, error)
UpSwitch mocks base method
func (*MockUpClient) UpsAidPubTime ¶
func (m *MockUpClient) UpsAidPubTime(ctx context.Context, in *UpsArcsReq, opts ...grpc.CallOption) (*UpsAidPubTimeReply, error)
UpsAidPubTime mocks base method
func (*MockUpClient) UpsArcs ¶
func (m *MockUpClient) UpsArcs(ctx context.Context, in *UpsArcsReq, opts ...grpc.CallOption) (*UpsArcsReply, error)
UpsArcs mocks base method
func (*MockUpClient) UpsCount ¶
func (m *MockUpClient) UpsCount(ctx context.Context, in *UpsCountReq, opts ...grpc.CallOption) (*UpsCountReply, error)
UpsCount mocks base method
func (*MockUpClient) UpsSpecial ¶
func (m *MockUpClient) UpsSpecial(ctx context.Context, in *UpsSpecialReq, opts ...grpc.CallOption) (*UpsSpecialReply, error)
UpsSpecial mocks base method
type MockUpClientMockRecorder ¶
type MockUpClientMockRecorder struct {
// contains filtered or unexported fields
}
MockUpClientMockRecorder is the mock recorder for MockUpClient
func (*MockUpClientMockRecorder) AddUpPassedCache ¶
func (mr *MockUpClientMockRecorder) AddUpPassedCache(ctx, in interface{}, opts ...interface{}) *gomock.Call
AddUpPassedCache indicates an expected call of AddUpPassedCache
func (*MockUpClientMockRecorder) AddUpPassedCacheByStaff ¶
func (mr *MockUpClientMockRecorder) AddUpPassedCacheByStaff(ctx, in interface{}, opts ...interface{}) *gomock.Call
AddUpPassedCacheByStaff indicates an expected call of AddUpPassedCacheByStaff
func (*MockUpClientMockRecorder) DelUpPassedCache ¶
func (mr *MockUpClientMockRecorder) DelUpPassedCache(ctx, in interface{}, opts ...interface{}) *gomock.Call
DelUpPassedCache indicates an expected call of DelUpPassedCache
func (*MockUpClientMockRecorder) DelUpPassedCacheByStaff ¶
func (mr *MockUpClientMockRecorder) DelUpPassedCacheByStaff(ctx, in interface{}, opts ...interface{}) *gomock.Call
DelUpPassedCacheByStaff indicates an expected call of DelUpPassedCacheByStaff
func (*MockUpClientMockRecorder) GetHighAllyUps ¶
func (mr *MockUpClientMockRecorder) GetHighAllyUps(ctx, in interface{}, opts ...interface{}) *gomock.Call
GetHighAllyUps indicates an expected call of GetHighAllyUps
func (*MockUpClientMockRecorder) SetUpSwitch ¶
func (mr *MockUpClientMockRecorder) SetUpSwitch(ctx, in interface{}, opts ...interface{}) *gomock.Call
SetUpSwitch indicates an expected call of SetUpSwitch
func (*MockUpClientMockRecorder) UpArcs ¶
func (mr *MockUpClientMockRecorder) UpArcs(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpArcs indicates an expected call of UpArcs
func (*MockUpClientMockRecorder) UpAttr ¶
func (mr *MockUpClientMockRecorder) UpAttr(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpAttr indicates an expected call of UpAttr
func (*MockUpClientMockRecorder) UpBaseStats ¶
func (mr *MockUpClientMockRecorder) UpBaseStats(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpBaseStats indicates an expected call of UpBaseStats
func (*MockUpClientMockRecorder) UpCount ¶
func (mr *MockUpClientMockRecorder) UpCount(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpCount indicates an expected call of UpCount
func (*MockUpClientMockRecorder) UpGroupMids ¶
func (mr *MockUpClientMockRecorder) UpGroupMids(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpGroupMids indicates an expected call of UpGroupMids
func (*MockUpClientMockRecorder) UpGroups ¶
func (mr *MockUpClientMockRecorder) UpGroups(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpGroups indicates an expected call of UpGroups
func (*MockUpClientMockRecorder) UpInfoActivitys ¶
func (mr *MockUpClientMockRecorder) UpInfoActivitys(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpInfoActivitys indicates an expected call of UpInfoActivitys
func (*MockUpClientMockRecorder) UpSpecial ¶
func (mr *MockUpClientMockRecorder) UpSpecial(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpSpecial indicates an expected call of UpSpecial
func (*MockUpClientMockRecorder) UpSwitch ¶
func (mr *MockUpClientMockRecorder) UpSwitch(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpSwitch indicates an expected call of UpSwitch
func (*MockUpClientMockRecorder) UpsAidPubTime ¶
func (mr *MockUpClientMockRecorder) UpsAidPubTime(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpsAidPubTime indicates an expected call of UpsAidPubTime
func (*MockUpClientMockRecorder) UpsArcs ¶
func (mr *MockUpClientMockRecorder) UpsArcs(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpsArcs indicates an expected call of UpsArcs
func (*MockUpClientMockRecorder) UpsCount ¶
func (mr *MockUpClientMockRecorder) UpsCount(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpsCount indicates an expected call of UpsCount
func (*MockUpClientMockRecorder) UpsSpecial ¶
func (mr *MockUpClientMockRecorder) UpsSpecial(ctx, in interface{}, opts ...interface{}) *gomock.Call
UpsSpecial indicates an expected call of UpsSpecial
type MockUpServer ¶
type MockUpServer struct {
// contains filtered or unexported fields
}
MockUpServer is a mock of UpServer interface
func NewMockUpServer ¶
func NewMockUpServer(ctrl *gomock.Controller) *MockUpServer
NewMockUpServer creates a new mock instance
func (*MockUpServer) AddUpPassedCache ¶
func (m *MockUpServer) AddUpPassedCache(arg0 context.Context, arg1 *UpCacheReq) (*NoReply, error)
AddUpPassedCache mocks base method
func (*MockUpServer) AddUpPassedCacheByStaff ¶
func (m *MockUpServer) AddUpPassedCacheByStaff(arg0 context.Context, arg1 *UpCacheReq) (*NoReply, error)
AddUpPassedCacheByStaff mocks base method
func (*MockUpServer) DelUpPassedCache ¶
func (m *MockUpServer) DelUpPassedCache(arg0 context.Context, arg1 *UpCacheReq) (*NoReply, error)
DelUpPassedCache mocks base method
func (*MockUpServer) DelUpPassedCacheByStaff ¶
func (m *MockUpServer) DelUpPassedCacheByStaff(arg0 context.Context, arg1 *UpCacheReq) (*NoReply, error)
DelUpPassedCacheByStaff mocks base method
func (*MockUpServer) EXPECT ¶
func (m *MockUpServer) EXPECT() *MockUpServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUpServer) GetHighAllyUps ¶
func (m *MockUpServer) GetHighAllyUps(arg0 context.Context, arg1 *HighAllyUpsReq) (*HighAllyUpsReply, error)
GetHighAllyUps mocks base method
func (*MockUpServer) SetUpSwitch ¶
func (m *MockUpServer) SetUpSwitch(arg0 context.Context, arg1 *UpSwitchReq) (*NoReply, error)
SetUpSwitch mocks base method
func (*MockUpServer) UpArcs ¶
func (m *MockUpServer) UpArcs(arg0 context.Context, arg1 *UpArcsReq) (*UpArcsReply, error)
UpArcs mocks base method
func (*MockUpServer) UpAttr ¶
func (m *MockUpServer) UpAttr(arg0 context.Context, arg1 *UpAttrReq) (*UpAttrReply, error)
UpAttr mocks base method
func (*MockUpServer) UpBaseStats ¶
func (m *MockUpServer) UpBaseStats(arg0 context.Context, arg1 *UpStatReq) (*UpBaseStatReply, error)
UpBaseStats mocks base method
func (*MockUpServer) UpCount ¶
func (m *MockUpServer) UpCount(arg0 context.Context, arg1 *UpCountReq) (*UpCountReply, error)
UpCount mocks base method
func (*MockUpServer) UpGroupMids ¶
func (m *MockUpServer) UpGroupMids(arg0 context.Context, arg1 *UpGroupMidsReq) (*UpGroupMidsReply, error)
UpGroupMids mocks base method
func (*MockUpServer) UpGroups ¶
func (m *MockUpServer) UpGroups(arg0 context.Context, arg1 *NoArgReq) (*UpGroupsReply, error)
UpGroups mocks base method
func (*MockUpServer) UpInfoActivitys ¶
func (m *MockUpServer) UpInfoActivitys(arg0 context.Context, arg1 *UpListByLastIDReq) (*UpActivityListReply, error)
UpInfoActivitys mocks base method
func (*MockUpServer) UpSpecial ¶
func (m *MockUpServer) UpSpecial(arg0 context.Context, arg1 *UpSpecialReq) (*UpSpecialReply, error)
UpSpecial mocks base method
func (*MockUpServer) UpSwitch ¶
func (m *MockUpServer) UpSwitch(arg0 context.Context, arg1 *UpSwitchReq) (*UpSwitchReply, error)
UpSwitch mocks base method
func (*MockUpServer) UpsAidPubTime ¶
func (m *MockUpServer) UpsAidPubTime(arg0 context.Context, arg1 *UpsArcsReq) (*UpsAidPubTimeReply, error)
UpsAidPubTime mocks base method
func (*MockUpServer) UpsArcs ¶
func (m *MockUpServer) UpsArcs(arg0 context.Context, arg1 *UpsArcsReq) (*UpsArcsReply, error)
UpsArcs mocks base method
func (*MockUpServer) UpsCount ¶
func (m *MockUpServer) UpsCount(arg0 context.Context, arg1 *UpsCountReq) (*UpsCountReply, error)
UpsCount mocks base method
func (*MockUpServer) UpsSpecial ¶
func (m *MockUpServer) UpsSpecial(arg0 context.Context, arg1 *UpsSpecialReq) (*UpsSpecialReply, error)
UpsSpecial mocks base method
type MockUpServerMockRecorder ¶
type MockUpServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUpServerMockRecorder is the mock recorder for MockUpServer
func (*MockUpServerMockRecorder) AddUpPassedCache ¶
func (mr *MockUpServerMockRecorder) AddUpPassedCache(arg0, arg1 interface{}) *gomock.Call
AddUpPassedCache indicates an expected call of AddUpPassedCache
func (*MockUpServerMockRecorder) AddUpPassedCacheByStaff ¶
func (mr *MockUpServerMockRecorder) AddUpPassedCacheByStaff(arg0, arg1 interface{}) *gomock.Call
AddUpPassedCacheByStaff indicates an expected call of AddUpPassedCacheByStaff
func (*MockUpServerMockRecorder) DelUpPassedCache ¶
func (mr *MockUpServerMockRecorder) DelUpPassedCache(arg0, arg1 interface{}) *gomock.Call
DelUpPassedCache indicates an expected call of DelUpPassedCache
func (*MockUpServerMockRecorder) DelUpPassedCacheByStaff ¶
func (mr *MockUpServerMockRecorder) DelUpPassedCacheByStaff(arg0, arg1 interface{}) *gomock.Call
DelUpPassedCacheByStaff indicates an expected call of DelUpPassedCacheByStaff
func (*MockUpServerMockRecorder) GetHighAllyUps ¶
func (mr *MockUpServerMockRecorder) GetHighAllyUps(arg0, arg1 interface{}) *gomock.Call
GetHighAllyUps indicates an expected call of GetHighAllyUps
func (*MockUpServerMockRecorder) SetUpSwitch ¶
func (mr *MockUpServerMockRecorder) SetUpSwitch(arg0, arg1 interface{}) *gomock.Call
SetUpSwitch indicates an expected call of SetUpSwitch
func (*MockUpServerMockRecorder) UpArcs ¶
func (mr *MockUpServerMockRecorder) UpArcs(arg0, arg1 interface{}) *gomock.Call
UpArcs indicates an expected call of UpArcs
func (*MockUpServerMockRecorder) UpAttr ¶
func (mr *MockUpServerMockRecorder) UpAttr(arg0, arg1 interface{}) *gomock.Call
UpAttr indicates an expected call of UpAttr
func (*MockUpServerMockRecorder) UpBaseStats ¶
func (mr *MockUpServerMockRecorder) UpBaseStats(arg0, arg1 interface{}) *gomock.Call
UpBaseStats indicates an expected call of UpBaseStats
func (*MockUpServerMockRecorder) UpCount ¶
func (mr *MockUpServerMockRecorder) UpCount(arg0, arg1 interface{}) *gomock.Call
UpCount indicates an expected call of UpCount
func (*MockUpServerMockRecorder) UpGroupMids ¶
func (mr *MockUpServerMockRecorder) UpGroupMids(arg0, arg1 interface{}) *gomock.Call
UpGroupMids indicates an expected call of UpGroupMids
func (*MockUpServerMockRecorder) UpGroups ¶
func (mr *MockUpServerMockRecorder) UpGroups(arg0, arg1 interface{}) *gomock.Call
UpGroups indicates an expected call of UpGroups
func (*MockUpServerMockRecorder) UpInfoActivitys ¶
func (mr *MockUpServerMockRecorder) UpInfoActivitys(arg0, arg1 interface{}) *gomock.Call
UpInfoActivitys indicates an expected call of UpInfoActivitys
func (*MockUpServerMockRecorder) UpSpecial ¶
func (mr *MockUpServerMockRecorder) UpSpecial(arg0, arg1 interface{}) *gomock.Call
UpSpecial indicates an expected call of UpSpecial
func (*MockUpServerMockRecorder) UpSwitch ¶
func (mr *MockUpServerMockRecorder) UpSwitch(arg0, arg1 interface{}) *gomock.Call
UpSwitch indicates an expected call of UpSwitch
func (*MockUpServerMockRecorder) UpsAidPubTime ¶
func (mr *MockUpServerMockRecorder) UpsAidPubTime(arg0, arg1 interface{}) *gomock.Call
UpsAidPubTime indicates an expected call of UpsAidPubTime
func (*MockUpServerMockRecorder) UpsArcs ¶
func (mr *MockUpServerMockRecorder) UpsArcs(arg0, arg1 interface{}) *gomock.Call
UpsArcs indicates an expected call of UpsArcs
func (*MockUpServerMockRecorder) UpsCount ¶
func (mr *MockUpServerMockRecorder) UpsCount(arg0, arg1 interface{}) *gomock.Call
UpsCount indicates an expected call of UpsCount
func (*MockUpServerMockRecorder) UpsSpecial ¶
func (mr *MockUpServerMockRecorder) UpsSpecial(arg0, arg1 interface{}) *gomock.Call
UpsSpecial indicates an expected call of UpsSpecial
type NoArgReq ¶
type NoArgReq struct { }
NoArgReq 没有请求参数
func (*NoArgReq) Descriptor ¶
func (*NoArgReq) ProtoMessage ¶
func (*NoArgReq) ProtoMessage()
type NoReply ¶
type NoReply struct { }
NoReply 没有返回值
func (*NoReply) Descriptor ¶
func (*NoReply) ProtoMessage ¶
func (*NoReply) ProtoMessage()
type SignUp ¶
type SignUp struct { // Mid 签约up主ID Mid int64 `protobuf:"varint,1,opt,name=Mid,proto3" json:"mid"` // State 签约状态 State int32 `protobuf:"varint,2,opt,name=State,proto3" json:"state"` // BeginDate 经纪签约开始时间 BeginDate go_common_library_time.Time `protobuf:"varint,3,opt,name=BeginDate,proto3,casttype=go-common/library/time.Time" json:"begin_date"` // EndDate 经纪签约结束时间 EndDate go_common_library_time.Time `protobuf:"varint,4,opt,name=EndDate,proto3,casttype=go-common/library/time.Time" json:"end_date"` }
SignUp 签约up
func (*SignUp) Descriptor ¶
func (*SignUp) GetBeginDate ¶
func (m *SignUp) GetBeginDate() go_common_library_time.Time
func (*SignUp) GetEndDate ¶
func (m *SignUp) GetEndDate() go_common_library_time.Time
func (*SignUp) ProtoMessage ¶
func (*SignUp) ProtoMessage()
type UpActivity ¶
type UpActivity struct { // mid up主id Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid"` // activity 活跃度 Activity int8 `protobuf:"varint,2,opt,name=activity,proto3,casttype=int8" json:"activity"` }
UpActivity up主活跃度信息
func (*UpActivity) Descriptor ¶
func (*UpActivity) Descriptor() ([]byte, []int)
func (*UpActivity) GetActivity ¶
func (m *UpActivity) GetActivity() int8
func (*UpActivity) GetMid ¶
func (m *UpActivity) GetMid() int64
func (*UpActivity) Marshal ¶
func (m *UpActivity) Marshal() (dAtA []byte, err error)
func (*UpActivity) ProtoMessage ¶
func (*UpActivity) ProtoMessage()
func (*UpActivity) Reset ¶
func (m *UpActivity) Reset()
func (*UpActivity) Size ¶
func (m *UpActivity) Size() (n int)
func (*UpActivity) String ¶
func (m *UpActivity) String() string
func (*UpActivity) Unmarshal ¶
func (m *UpActivity) Unmarshal(dAtA []byte) error
type UpActivityListReply ¶
type UpActivityListReply struct { // up_activity 活跃度up主信息列表 UpActivitys []*UpActivity `protobuf:"bytes,1,rep,name=up_activitys,json=upActivitys" json:"up_activitys,omitempty"` // last_id 数据最后返回的id LastID int64 `protobuf:"varint,2,opt,name=last_id,json=lastId,proto3" json:"last_id,omitempty"` }
UpActivityListReply up主活跃度列表信息
func (*UpActivityListReply) Descriptor ¶
func (*UpActivityListReply) Descriptor() ([]byte, []int)
func (*UpActivityListReply) GetLastID ¶
func (m *UpActivityListReply) GetLastID() int64
func (*UpActivityListReply) GetUpActivitys ¶
func (m *UpActivityListReply) GetUpActivitys() []*UpActivity
func (*UpActivityListReply) Marshal ¶
func (m *UpActivityListReply) Marshal() (dAtA []byte, err error)
func (*UpActivityListReply) MarshalTo ¶
func (m *UpActivityListReply) MarshalTo(dAtA []byte) (int, error)
func (*UpActivityListReply) ProtoMessage ¶
func (*UpActivityListReply) ProtoMessage()
func (*UpActivityListReply) Reset ¶
func (m *UpActivityListReply) Reset()
func (*UpActivityListReply) Size ¶
func (m *UpActivityListReply) Size() (n int)
func (*UpActivityListReply) String ¶
func (m *UpActivityListReply) String() string
func (*UpActivityListReply) Unmarshal ¶
func (m *UpActivityListReply) Unmarshal(dAtA []byte) error
type UpAidPubTimeReply ¶
type UpAidPubTimeReply struct { // archives 稿件信息列表 Archives []*AidPubTime `protobuf:"bytes,1,rep,name=archives" json:"archives,omitempty"` }
UpAidPubTimeReply 按发布时间的单个up的稿件aid的返回值
func (*UpAidPubTimeReply) Descriptor ¶
func (*UpAidPubTimeReply) Descriptor() ([]byte, []int)
func (*UpAidPubTimeReply) GetArchives ¶
func (m *UpAidPubTimeReply) GetArchives() []*AidPubTime
func (*UpAidPubTimeReply) Marshal ¶
func (m *UpAidPubTimeReply) Marshal() (dAtA []byte, err error)
func (*UpAidPubTimeReply) MarshalTo ¶
func (m *UpAidPubTimeReply) MarshalTo(dAtA []byte) (int, error)
func (*UpAidPubTimeReply) ProtoMessage ¶
func (*UpAidPubTimeReply) ProtoMessage()
func (*UpAidPubTimeReply) Reset ¶
func (m *UpAidPubTimeReply) Reset()
func (*UpAidPubTimeReply) Size ¶
func (m *UpAidPubTimeReply) Size() (n int)
func (*UpAidPubTimeReply) String ¶
func (m *UpAidPubTimeReply) String() string
func (*UpAidPubTimeReply) Unmarshal ¶
func (m *UpAidPubTimeReply) Unmarshal(dAtA []byte) error
type UpArcsReply ¶
type UpArcsReply struct { // archives 稿件信息列表 Archives []*archive_service_v1.Arc `protobuf:"bytes,1,rep,name=archives" json:"archives,omitempty"` }
UpArcsReply 单个up主的稿件信息列表返回值
func (*UpArcsReply) Descriptor ¶
func (*UpArcsReply) Descriptor() ([]byte, []int)
func (*UpArcsReply) GetArchives ¶
func (m *UpArcsReply) GetArchives() []*archive_service_v1.Arc
func (*UpArcsReply) Marshal ¶
func (m *UpArcsReply) Marshal() (dAtA []byte, err error)
func (*UpArcsReply) ProtoMessage ¶
func (*UpArcsReply) ProtoMessage()
func (*UpArcsReply) Reset ¶
func (m *UpArcsReply) Reset()
func (*UpArcsReply) Size ¶
func (m *UpArcsReply) Size() (n int)
func (*UpArcsReply) String ¶
func (m *UpArcsReply) String() string
func (*UpArcsReply) Unmarshal ¶
func (m *UpArcsReply) Unmarshal(dAtA []byte) error
type UpArcsReq ¶
type UpArcsReq struct { // mid 用户id 必传 Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty" form:"mid" validate:"min=1,required"` // pn 第几页 非必传 Pn int32 `protobuf:"varint,2,opt,name=pn,proto3" json:"pn,omitempty" form:"pn" default:"1"` // ps 分页大小 非必传 Ps int32 `protobuf:"varint,3,opt,name=ps,proto3" json:"ps,omitempty" form:"ps" default:"20"` }
UpArcsReq 单个up主的稿件列表信息请求参数
func (*UpArcsReq) Descriptor ¶
func (*UpArcsReq) ProtoMessage ¶
func (*UpArcsReq) ProtoMessage()
type UpAttrReply ¶
type UpAttrReply struct { // is_author 是否有身份 0:无身份 1:有身份 IsAuthor uint8 `protobuf:"varint,1,opt,name=is_author,json=isAuthor,proto3,casttype=uint8" json:"is_author"` }
UpAttrReply 获取up主身份的返回值
func (*UpAttrReply) Descriptor ¶
func (*UpAttrReply) Descriptor() ([]byte, []int)
func (*UpAttrReply) GetIsAuthor ¶
func (m *UpAttrReply) GetIsAuthor() uint8
func (*UpAttrReply) Marshal ¶
func (m *UpAttrReply) Marshal() (dAtA []byte, err error)
func (*UpAttrReply) ProtoMessage ¶
func (*UpAttrReply) ProtoMessage()
func (*UpAttrReply) Reset ¶
func (m *UpAttrReply) Reset()
func (*UpAttrReply) Size ¶
func (m *UpAttrReply) Size() (n int)
func (*UpAttrReply) String ¶
func (m *UpAttrReply) String() string
func (*UpAttrReply) Unmarshal ¶
func (m *UpAttrReply) Unmarshal(dAtA []byte) error
type UpAttrReq ¶
type UpAttrReq struct { // mid 用户id 必传 Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty" form:"mid" validate:"min=1,required"` // from 0 - 稿件作者(至少有一个通过稿件); 1 - 移动投稿作者(至少有一个稿件); // 2 - live(直播up主); 3 - live(直播白名单) From uint8 `protobuf:"varint,2,opt,name=from,proto3,casttype=uint8" json:"from,omitempty" form:"from" validate:"min=0,max=1"` }
UpAttrReq 获取up主身份属性的请求参数
func (*UpAttrReq) Descriptor ¶
func (*UpAttrReq) ProtoMessage ¶
func (*UpAttrReq) ProtoMessage()
type UpBaseStatReply ¶
type UpBaseStatReply struct { // view 播放数 View int64 `protobuf:"varint,1,opt,name=view,proto3" json:"view"` // reply 评论数 Reply int64 `protobuf:"varint,2,opt,name=reply,proto3" json:"reply"` // dm 弹幕数 Dm int64 `protobuf:"varint,3,opt,name=dm,proto3" json:"dm"` // fans 粉丝数 Fans int64 `protobuf:"varint,4,opt,name=fans,proto3" json:"fans"` // fav 收藏数 Fav int64 `protobuf:"varint,5,opt,name=fav,proto3" json:"fav"` // like 点赞数 Like int64 `protobuf:"varint,6,opt,name=like,proto3" json:"like"` }
UpBaseStatReply 获取up主基础计数的返回值
func (*UpBaseStatReply) Descriptor ¶
func (*UpBaseStatReply) Descriptor() ([]byte, []int)
func (*UpBaseStatReply) GetDm ¶
func (m *UpBaseStatReply) GetDm() int64
func (*UpBaseStatReply) GetFans ¶
func (m *UpBaseStatReply) GetFans() int64
func (*UpBaseStatReply) GetFav ¶
func (m *UpBaseStatReply) GetFav() int64
func (*UpBaseStatReply) GetLike ¶
func (m *UpBaseStatReply) GetLike() int64
func (*UpBaseStatReply) GetReply ¶
func (m *UpBaseStatReply) GetReply() int64
func (*UpBaseStatReply) GetView ¶
func (m *UpBaseStatReply) GetView() int64
func (*UpBaseStatReply) Marshal ¶
func (m *UpBaseStatReply) Marshal() (dAtA []byte, err error)
func (*UpBaseStatReply) ProtoMessage ¶
func (*UpBaseStatReply) ProtoMessage()
func (*UpBaseStatReply) Reset ¶
func (m *UpBaseStatReply) Reset()
func (*UpBaseStatReply) Size ¶
func (m *UpBaseStatReply) Size() (n int)
func (*UpBaseStatReply) String ¶
func (m *UpBaseStatReply) String() string
func (*UpBaseStatReply) Unmarshal ¶
func (m *UpBaseStatReply) Unmarshal(dAtA []byte) error
type UpCacheReq ¶
type UpCacheReq struct { // mid 用户id 必传 Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty" form:"mid" validate:"required"` // aid 稿件id 必传 Aid int64 `protobuf:"varint,2,opt,name=aid,proto3" json:"aid,omitempty" form:"aid" validate:"required"` }
UpCacheReq up主的cache更新的请求参数
func (*UpCacheReq) Descriptor ¶
func (*UpCacheReq) Descriptor() ([]byte, []int)
func (*UpCacheReq) GetAid ¶
func (m *UpCacheReq) GetAid() int64
func (*UpCacheReq) GetMid ¶
func (m *UpCacheReq) GetMid() int64
func (*UpCacheReq) Marshal ¶
func (m *UpCacheReq) Marshal() (dAtA []byte, err error)
func (*UpCacheReq) ProtoMessage ¶
func (*UpCacheReq) ProtoMessage()
func (*UpCacheReq) Reset ¶
func (m *UpCacheReq) Reset()
func (*UpCacheReq) Size ¶
func (m *UpCacheReq) Size() (n int)
func (*UpCacheReq) String ¶
func (m *UpCacheReq) String() string
func (*UpCacheReq) Unmarshal ¶
func (m *UpCacheReq) Unmarshal(dAtA []byte) error
type UpClient ¶
type UpClient interface { // UpArcs 单个up主的稿件列表接口-带分页 UpArcs(ctx context.Context, in *UpArcsReq, opts ...grpc.CallOption) (*UpArcsReply, error) // UpsArcs 多个up主的稿件列表接口-带分页 UpsArcs(ctx context.Context, in *UpsArcsReq, opts ...grpc.CallOption) (*UpsArcsReply, error) // UpCount 单个up主的稿件计数接口 UpCount(ctx context.Context, in *UpCountReq, opts ...grpc.CallOption) (*UpCountReply, error) // UpsCount 多个up主的稿件计数接口 UpsCount(ctx context.Context, in *UpsCountReq, opts ...grpc.CallOption) (*UpsCountReply, error) // UpsAidPubTime archives 多个up主的按分布时间排序的aid接口 UpsAidPubTime(ctx context.Context, in *UpsArcsReq, opts ...grpc.CallOption) (*UpsAidPubTimeReply, error) // AddUpPassedCacheByStaff staff变更 新增或者变更up主稿件信息列表和计数接口 AddUpPassedCacheByStaff(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error) // AddUpPassedCache archive变更 新增或者变更up主稿件信息列表和计数接口 AddUpPassedCache(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error) // DelUpPassedCacheByStaff staff解除 删除的up主稿件信息列表和计数接口 DelUpPassedCacheByStaff(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error) // DelUpPassedCache archive失效 删除的up主稿件信息列表和计数接口 DelUpPassedCache(ctx context.Context, in *UpCacheReq, opts ...grpc.CallOption) (*NoReply, error) // UpInfoActivitys 获取up主活跃度列表信息的接口 UpInfoActivitys(ctx context.Context, in *UpListByLastIDReq, opts ...grpc.CallOption) (*UpActivityListReply, error) // UpSpecial 获取up主的特殊属性信息的接口 UpSpecial(ctx context.Context, in *UpSpecialReq, opts ...grpc.CallOption) (*UpSpecialReply, error) // UpsSpecial 获取多个up主的特殊属性信息的接口 UpsSpecial(ctx context.Context, in *UpsSpecialReq, opts ...grpc.CallOption) (*UpsSpecialReply, error) // UpGroups 获取所有特殊用户组信息的接口 UpGroups(ctx context.Context, in *NoArgReq, opts ...grpc.CallOption) (*UpGroupsReply, error) // UpGroupMids 获取某个分组下的所有用户的接口 UpGroupMids(ctx context.Context, in *UpGroupMidsReq, opts ...grpc.CallOption) (*UpGroupMidsReply, error) // UpAttr 获取up主身份属性的接口 UpAttr(ctx context.Context, in *UpAttrReq, opts ...grpc.CallOption) (*UpAttrReply, error) // UpBaseStats 获取up主基础计数的接口 UpBaseStats(ctx context.Context, in *UpStatReq, opts ...grpc.CallOption) (*UpBaseStatReply, error) // SetUpSwitch 设置up主关注弹窗开关的接口 SetUpSwitch(ctx context.Context, in *UpSwitchReq, opts ...grpc.CallOption) (*NoReply, error) // UpSwitch 获取up主关注弹窗开关的接口 UpSwitch(ctx context.Context, in *UpSwitchReq, opts ...grpc.CallOption) (*UpSwitchReply, error) // GetHighAllyUps 获取高能联盟up主列表 GetHighAllyUps(ctx context.Context, in *HighAllyUpsReq, opts ...grpc.CallOption) (*HighAllyUpsReply, error) }
func NewClient ¶
func NewClient(cfg *warden.ClientConfig, opts ...grpc.DialOption) (UpClient, error)
NewClient new member grpc client
func NewUpClient ¶
func NewUpClient(cc *grpc.ClientConn) UpClient
type UpCountReply ¶
type UpCountReply struct { // count 稿件数量 Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` }
UpCountReply 单个up主的稿件计数返回值
func (*UpCountReply) Descriptor ¶
func (*UpCountReply) Descriptor() ([]byte, []int)
func (*UpCountReply) GetCount ¶
func (m *UpCountReply) GetCount() int64
func (*UpCountReply) Marshal ¶
func (m *UpCountReply) Marshal() (dAtA []byte, err error)
func (*UpCountReply) ProtoMessage ¶
func (*UpCountReply) ProtoMessage()
func (*UpCountReply) Reset ¶
func (m *UpCountReply) Reset()
func (*UpCountReply) Size ¶
func (m *UpCountReply) Size() (n int)
func (*UpCountReply) String ¶
func (m *UpCountReply) String() string
func (*UpCountReply) Unmarshal ¶
func (m *UpCountReply) Unmarshal(dAtA []byte) error
type UpCountReq ¶
type UpCountReq struct { // mid 用户id 必传 Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty" form:"mid" validate:"min=1,required"` }
UpCountReq 单个up主的稿件计数的请求参数
func (*UpCountReq) Descriptor ¶
func (*UpCountReq) Descriptor() ([]byte, []int)
func (*UpCountReq) GetMid ¶
func (m *UpCountReq) GetMid() int64
func (*UpCountReq) Marshal ¶
func (m *UpCountReq) Marshal() (dAtA []byte, err error)
func (*UpCountReq) ProtoMessage ¶
func (*UpCountReq) ProtoMessage()
func (*UpCountReq) Reset ¶
func (m *UpCountReq) Reset()
func (*UpCountReq) Size ¶
func (m *UpCountReq) Size() (n int)
func (*UpCountReq) String ¶
func (m *UpCountReq) String() string
func (*UpCountReq) Unmarshal ¶
func (m *UpCountReq) Unmarshal(dAtA []byte) error
type UpGroup ¶
type UpGroup struct { // id 分组ID ID int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` // name 分组名 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` // tag 标签名称 Tag string `protobuf:"bytes,3,opt,name=tag,proto3" json:"tag"` // tag 标签简称 ShortTag string `protobuf:"bytes,4,opt,name=short_tag,json=shortTag,proto3" json:"short_tag"` // font_color 字体色 FontColor string `protobuf:"bytes,5,opt,name=font_color,json=fontColor,proto3" json:"font_color"` // bg_color 背景色 BgColor string `protobuf:"bytes,6,opt,name=bg_color,json=bgColor,proto3" json:"bg_color"` // note 备注 Note string `protobuf:"bytes,7,opt,name=note,proto3" json:"note"` }
UpGroup up主的特殊用户组信息
func (*UpGroup) Descriptor ¶
func (*UpGroup) GetBgColor ¶
func (*UpGroup) GetFontColor ¶
func (*UpGroup) GetShortTag ¶
func (*UpGroup) ProtoMessage ¶
func (*UpGroup) ProtoMessage()
type UpGroupMidsReply ¶
type UpGroupMidsReply struct { // mids 分组下用户ID Mids []int64 `protobuf:"varint,1,rep,packed,name=mids" json:"mids"` Total int `protobuf:"varint,2,opt,name=total,proto3,casttype=int" json:"total"` }
UpGroupMidsReply 获取某个分组下的所有用户的返回值
func (*UpGroupMidsReply) Descriptor ¶
func (*UpGroupMidsReply) Descriptor() ([]byte, []int)
func (*UpGroupMidsReply) GetMids ¶
func (m *UpGroupMidsReply) GetMids() []int64
func (*UpGroupMidsReply) GetTotal ¶
func (m *UpGroupMidsReply) GetTotal() int
func (*UpGroupMidsReply) Marshal ¶
func (m *UpGroupMidsReply) Marshal() (dAtA []byte, err error)
func (*UpGroupMidsReply) ProtoMessage ¶
func (*UpGroupMidsReply) ProtoMessage()
func (*UpGroupMidsReply) Reset ¶
func (m *UpGroupMidsReply) Reset()
func (*UpGroupMidsReply) Size ¶
func (m *UpGroupMidsReply) Size() (n int)
func (*UpGroupMidsReply) String ¶
func (m *UpGroupMidsReply) String() string
func (*UpGroupMidsReply) Unmarshal ¶
func (m *UpGroupMidsReply) Unmarshal(dAtA []byte) error
type UpGroupMidsReq ¶
type UpGroupMidsReq struct { // GroupID 分组ID GroupID int64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty" form:"group_id" validate:"min=1,required"` // pn 第几页 非必传 Pn int `protobuf:"varint,2,opt,name=pn,proto3,casttype=int" json:"pn,omitempty" form:"pn" validate:"min=1,max=100" default:"1"` // ps 分页大小 非必传 Ps int `protobuf:"varint,3,opt,name=ps,proto3,casttype=int" json:"ps,omitempty" form:"ps" validate:"min=1,max=10000" default:"1000"` }
UpGroupMidsReq 获取某个分组下的所有用户的请求参数
func (*UpGroupMidsReq) Descriptor ¶
func (*UpGroupMidsReq) Descriptor() ([]byte, []int)
func (*UpGroupMidsReq) GetGroupID ¶
func (m *UpGroupMidsReq) GetGroupID() int64
func (*UpGroupMidsReq) GetPn ¶
func (m *UpGroupMidsReq) GetPn() int
func (*UpGroupMidsReq) GetPs ¶
func (m *UpGroupMidsReq) GetPs() int
func (*UpGroupMidsReq) Marshal ¶
func (m *UpGroupMidsReq) Marshal() (dAtA []byte, err error)
func (*UpGroupMidsReq) ProtoMessage ¶
func (*UpGroupMidsReq) ProtoMessage()
func (*UpGroupMidsReq) Reset ¶
func (m *UpGroupMidsReq) Reset()
func (*UpGroupMidsReq) Size ¶
func (m *UpGroupMidsReq) Size() (n int)
func (*UpGroupMidsReq) String ¶
func (m *UpGroupMidsReq) String() string
func (*UpGroupMidsReq) Unmarshal ¶
func (m *UpGroupMidsReq) Unmarshal(dAtA []byte) error
type UpGroupsReply ¶
type UpGroupsReply struct { // up_groups up主的特殊用户组信息 UpGroups map[int64]*UpGroup `` /* 160-byte string literal not displayed */ }
UpGroupsReply up主特殊用户组列表
func (*UpGroupsReply) Descriptor ¶
func (*UpGroupsReply) Descriptor() ([]byte, []int)
func (*UpGroupsReply) GetUpGroups ¶
func (m *UpGroupsReply) GetUpGroups() map[int64]*UpGroup
func (*UpGroupsReply) Marshal ¶
func (m *UpGroupsReply) Marshal() (dAtA []byte, err error)
func (*UpGroupsReply) ProtoMessage ¶
func (*UpGroupsReply) ProtoMessage()
func (*UpGroupsReply) Reset ¶
func (m *UpGroupsReply) Reset()
func (*UpGroupsReply) Size ¶
func (m *UpGroupsReply) Size() (n int)
func (*UpGroupsReply) String ¶
func (m *UpGroupsReply) String() string
func (*UpGroupsReply) Unmarshal ¶
func (m *UpGroupsReply) Unmarshal(dAtA []byte) error
type UpListByLastIDReq ¶
type UpListByLastIDReq struct { // LastID 获取的数据最后id LastID int64 `protobuf:"varint,1,opt,name=last_id,json=lastId,proto3" json:"last_id,omitempty" form:"last_id" validate:"min=0"` // 获取数量 最大1000个 Ps int `protobuf:"varint,2,opt,name=ps,proto3,casttype=int" json:"ps,omitempty" form:"ps" validate:"min=1,max=1000" default:"100"` }
UpListByLastIDReq 获取up主活跃度信息通过最后id获取
func (*UpListByLastIDReq) Descriptor ¶
func (*UpListByLastIDReq) Descriptor() ([]byte, []int)
func (*UpListByLastIDReq) GetLastID ¶
func (m *UpListByLastIDReq) GetLastID() int64
func (*UpListByLastIDReq) GetPs ¶
func (m *UpListByLastIDReq) GetPs() int
func (*UpListByLastIDReq) Marshal ¶
func (m *UpListByLastIDReq) Marshal() (dAtA []byte, err error)
func (*UpListByLastIDReq) MarshalTo ¶
func (m *UpListByLastIDReq) MarshalTo(dAtA []byte) (int, error)
func (*UpListByLastIDReq) ProtoMessage ¶
func (*UpListByLastIDReq) ProtoMessage()
func (*UpListByLastIDReq) Reset ¶
func (m *UpListByLastIDReq) Reset()
func (*UpListByLastIDReq) Size ¶
func (m *UpListByLastIDReq) Size() (n int)
func (*UpListByLastIDReq) String ¶
func (m *UpListByLastIDReq) String() string
func (*UpListByLastIDReq) Unmarshal ¶
func (m *UpListByLastIDReq) Unmarshal(dAtA []byte) error
type UpServer ¶
type UpServer interface { // UpArcs 单个up主的稿件列表接口-带分页 UpArcs(context.Context, *UpArcsReq) (*UpArcsReply, error) // UpsArcs 多个up主的稿件列表接口-带分页 UpsArcs(context.Context, *UpsArcsReq) (*UpsArcsReply, error) // UpCount 单个up主的稿件计数接口 UpCount(context.Context, *UpCountReq) (*UpCountReply, error) // UpsCount 多个up主的稿件计数接口 UpsCount(context.Context, *UpsCountReq) (*UpsCountReply, error) // UpsAidPubTime archives 多个up主的按分布时间排序的aid接口 UpsAidPubTime(context.Context, *UpsArcsReq) (*UpsAidPubTimeReply, error) // AddUpPassedCacheByStaff staff变更 新增或者变更up主稿件信息列表和计数接口 AddUpPassedCacheByStaff(context.Context, *UpCacheReq) (*NoReply, error) // AddUpPassedCache archive变更 新增或者变更up主稿件信息列表和计数接口 AddUpPassedCache(context.Context, *UpCacheReq) (*NoReply, error) // DelUpPassedCacheByStaff staff解除 删除的up主稿件信息列表和计数接口 DelUpPassedCacheByStaff(context.Context, *UpCacheReq) (*NoReply, error) // DelUpPassedCache archive失效 删除的up主稿件信息列表和计数接口 DelUpPassedCache(context.Context, *UpCacheReq) (*NoReply, error) // UpInfoActivitys 获取up主活跃度列表信息的接口 UpInfoActivitys(context.Context, *UpListByLastIDReq) (*UpActivityListReply, error) // UpSpecial 获取up主的特殊属性信息的接口 UpSpecial(context.Context, *UpSpecialReq) (*UpSpecialReply, error) // UpsSpecial 获取多个up主的特殊属性信息的接口 UpsSpecial(context.Context, *UpsSpecialReq) (*UpsSpecialReply, error) // UpGroups 获取所有特殊用户组信息的接口 UpGroups(context.Context, *NoArgReq) (*UpGroupsReply, error) // UpGroupMids 获取某个分组下的所有用户的接口 UpGroupMids(context.Context, *UpGroupMidsReq) (*UpGroupMidsReply, error) // UpAttr 获取up主身份属性的接口 UpAttr(context.Context, *UpAttrReq) (*UpAttrReply, error) // UpBaseStats 获取up主基础计数的接口 UpBaseStats(context.Context, *UpStatReq) (*UpBaseStatReply, error) // SetUpSwitch 设置up主关注弹窗开关的接口 SetUpSwitch(context.Context, *UpSwitchReq) (*NoReply, error) // UpSwitch 获取up主关注弹窗开关的接口 UpSwitch(context.Context, *UpSwitchReq) (*UpSwitchReply, error) // GetHighAllyUps 获取高能联盟up主列表 GetHighAllyUps(context.Context, *HighAllyUpsReq) (*HighAllyUpsReply, error) }
type UpSpecial ¶
type UpSpecial struct { // group_ids 特殊属性数组 GroupIDs []int64 `protobuf:"varint,1,rep,packed,name=group_ids,json=groupIds" json:"group_ids"` }
UpSpecial up主的特殊属性
func (*UpSpecial) Descriptor ¶
func (*UpSpecial) GetGroupIDs ¶
func (*UpSpecial) ProtoMessage ¶
func (*UpSpecial) ProtoMessage()
type UpSpecialReply ¶
type UpSpecialReply struct { // up_special up主的特殊属性 UpSpecial *UpSpecial `protobuf:"bytes,1,opt,name=up_special,json=upSpecial" json:"up_special,omitempty"` }
UpSpecialReply up主特殊属性信息
func (*UpSpecialReply) Descriptor ¶
func (*UpSpecialReply) Descriptor() ([]byte, []int)
func (*UpSpecialReply) GetUpSpecial ¶
func (m *UpSpecialReply) GetUpSpecial() *UpSpecial
func (*UpSpecialReply) Marshal ¶
func (m *UpSpecialReply) Marshal() (dAtA []byte, err error)
func (*UpSpecialReply) ProtoMessage ¶
func (*UpSpecialReply) ProtoMessage()
func (*UpSpecialReply) Reset ¶
func (m *UpSpecialReply) Reset()
func (*UpSpecialReply) Size ¶
func (m *UpSpecialReply) Size() (n int)
func (*UpSpecialReply) String ¶
func (m *UpSpecialReply) String() string
func (*UpSpecialReply) Unmarshal ¶
func (m *UpSpecialReply) Unmarshal(dAtA []byte) error
type UpSpecialReq ¶
type UpSpecialReq struct { // mid 用户id 必传 Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty" form:"mid" validate:"min=1,required"` }
UpSpecialReq up主特殊用户属性请求参数
func (*UpSpecialReq) Descriptor ¶
func (*UpSpecialReq) Descriptor() ([]byte, []int)
func (*UpSpecialReq) GetMid ¶
func (m *UpSpecialReq) GetMid() int64
func (*UpSpecialReq) Marshal ¶
func (m *UpSpecialReq) Marshal() (dAtA []byte, err error)
func (*UpSpecialReq) ProtoMessage ¶
func (*UpSpecialReq) ProtoMessage()
func (*UpSpecialReq) Reset ¶
func (m *UpSpecialReq) Reset()
func (*UpSpecialReq) Size ¶
func (m *UpSpecialReq) Size() (n int)
func (*UpSpecialReq) String ¶
func (m *UpSpecialReq) String() string
func (*UpSpecialReq) Unmarshal ¶
func (m *UpSpecialReq) Unmarshal(dAtA []byte) error
type UpStatReq ¶
type UpStatReq struct { // mid 用户id 必传 Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty" form:"mid" validate:"min=1,required"` // date 获取计数时间范围 Date go_common_library_time.Time `protobuf:"varint,2,opt,name=date,proto3,casttype=go-common/library/time.Time" json:"date,omitempty" form:"date"` }
UpStatReq 获取up计数的请求参数
func (*UpStatReq) Descriptor ¶
func (*UpStatReq) GetDate ¶
func (m *UpStatReq) GetDate() go_common_library_time.Time
func (*UpStatReq) ProtoMessage ¶
func (*UpStatReq) ProtoMessage()
type UpSwitchReply ¶
type UpSwitchReply struct { // state 开关状态 0-关闭 1-打开 State uint8 `protobuf:"varint,1,opt,name=state,proto3,casttype=uint8" json:"state"` }
UpSwitchReq 获取up主关注弹窗开关的返回值
func (*UpSwitchReply) Descriptor ¶
func (*UpSwitchReply) Descriptor() ([]byte, []int)
func (*UpSwitchReply) GetState ¶
func (m *UpSwitchReply) GetState() uint8
func (*UpSwitchReply) Marshal ¶
func (m *UpSwitchReply) Marshal() (dAtA []byte, err error)
func (*UpSwitchReply) ProtoMessage ¶
func (*UpSwitchReply) ProtoMessage()
func (*UpSwitchReply) Reset ¶
func (m *UpSwitchReply) Reset()
func (*UpSwitchReply) Size ¶
func (m *UpSwitchReply) Size() (n int)
func (*UpSwitchReply) String ¶
func (m *UpSwitchReply) String() string
func (*UpSwitchReply) Unmarshal ¶
func (m *UpSwitchReply) Unmarshal(dAtA []byte) error
type UpSwitchReq ¶
type UpSwitchReq struct { // mid 用户id 必传 Mid int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty" form:"mid" validate:"min=1,required"` // from 业务来源 0-播放器关注开关 1-up主荣誉周报是否退订 From uint8 `protobuf:"varint,2,opt,name=from,proto3,casttype=uint8" json:"from,omitempty" form:"from"` // state 开关状态 0-关闭 1-打开 State uint8 `protobuf:"varint,3,opt,name=state,proto3,casttype=uint8" json:"state,omitempty" form:"state" validate:"min=0,max=1"` }
UpSwitchReq 获取up主关注弹窗开关的请求参数
func (*UpSwitchReq) Descriptor ¶
func (*UpSwitchReq) Descriptor() ([]byte, []int)
func (*UpSwitchReq) GetFrom ¶
func (m *UpSwitchReq) GetFrom() uint8
func (*UpSwitchReq) GetMid ¶
func (m *UpSwitchReq) GetMid() int64
func (*UpSwitchReq) GetState ¶
func (m *UpSwitchReq) GetState() uint8
func (*UpSwitchReq) Marshal ¶
func (m *UpSwitchReq) Marshal() (dAtA []byte, err error)
func (*UpSwitchReq) ProtoMessage ¶
func (*UpSwitchReq) ProtoMessage()
func (*UpSwitchReq) Reset ¶
func (m *UpSwitchReq) Reset()
func (*UpSwitchReq) Size ¶
func (m *UpSwitchReq) Size() (n int)
func (*UpSwitchReq) String ¶
func (m *UpSwitchReq) String() string
func (*UpSwitchReq) Unmarshal ¶
func (m *UpSwitchReq) Unmarshal(dAtA []byte) error
type UpsAidPubTimeReply ¶
type UpsAidPubTimeReply struct { // archives 稿件信息列表 Archives map[int64]*UpAidPubTimeReply `` /* 144-byte string literal not displayed */ }
UpsAidPubTimeReply 按发布时间的多个up的稿件aid的返回值
func (*UpsAidPubTimeReply) Descriptor ¶
func (*UpsAidPubTimeReply) Descriptor() ([]byte, []int)
func (*UpsAidPubTimeReply) GetArchives ¶
func (m *UpsAidPubTimeReply) GetArchives() map[int64]*UpAidPubTimeReply
func (*UpsAidPubTimeReply) Marshal ¶
func (m *UpsAidPubTimeReply) Marshal() (dAtA []byte, err error)
func (*UpsAidPubTimeReply) MarshalTo ¶
func (m *UpsAidPubTimeReply) MarshalTo(dAtA []byte) (int, error)
func (*UpsAidPubTimeReply) ProtoMessage ¶
func (*UpsAidPubTimeReply) ProtoMessage()
func (*UpsAidPubTimeReply) Reset ¶
func (m *UpsAidPubTimeReply) Reset()
func (*UpsAidPubTimeReply) Size ¶
func (m *UpsAidPubTimeReply) Size() (n int)
func (*UpsAidPubTimeReply) String ¶
func (m *UpsAidPubTimeReply) String() string
func (*UpsAidPubTimeReply) Unmarshal ¶
func (m *UpsAidPubTimeReply) Unmarshal(dAtA []byte) error
type UpsArcsReply ¶
type UpsArcsReply struct { // archives 稿件信息列表 Archives map[int64]*UpArcsReply `` /* 144-byte string literal not displayed */ }
UpsArcsReply 多个up主的稿件信息列表返回值
func (*UpsArcsReply) Descriptor ¶
func (*UpsArcsReply) Descriptor() ([]byte, []int)
func (*UpsArcsReply) GetArchives ¶
func (m *UpsArcsReply) GetArchives() map[int64]*UpArcsReply
func (*UpsArcsReply) Marshal ¶
func (m *UpsArcsReply) Marshal() (dAtA []byte, err error)
func (*UpsArcsReply) ProtoMessage ¶
func (*UpsArcsReply) ProtoMessage()
func (*UpsArcsReply) Reset ¶
func (m *UpsArcsReply) Reset()
func (*UpsArcsReply) Size ¶
func (m *UpsArcsReply) Size() (n int)
func (*UpsArcsReply) String ¶
func (m *UpsArcsReply) String() string
func (*UpsArcsReply) Unmarshal ¶
func (m *UpsArcsReply) Unmarshal(dAtA []byte) error
type UpsArcsReq ¶
type UpsArcsReq struct { // mids 多个用户id 必传 最大100个 Mids []int64 `protobuf:"varint,1,rep,packed,name=mids" json:"mids,omitempty" form:"mids,split" validate:"min=1,max=100,required"` // pn 第几页 非必传 Pn int32 `protobuf:"varint,2,opt,name=pn,proto3" json:"pn,omitempty" form:"pn" default:"1"` // ps 分页大小 非必传 Ps int32 `protobuf:"varint,3,opt,name=ps,proto3" json:"ps,omitempty" form:"ps" default:"20"` }
UpsArcsReq 多个up主的稿件列表信息请求参数
func (*UpsArcsReq) Descriptor ¶
func (*UpsArcsReq) Descriptor() ([]byte, []int)
func (*UpsArcsReq) GetMids ¶
func (m *UpsArcsReq) GetMids() []int64
func (*UpsArcsReq) GetPn ¶
func (m *UpsArcsReq) GetPn() int32
func (*UpsArcsReq) GetPs ¶
func (m *UpsArcsReq) GetPs() int32
func (*UpsArcsReq) Marshal ¶
func (m *UpsArcsReq) Marshal() (dAtA []byte, err error)
func (*UpsArcsReq) ProtoMessage ¶
func (*UpsArcsReq) ProtoMessage()
func (*UpsArcsReq) Reset ¶
func (m *UpsArcsReq) Reset()
func (*UpsArcsReq) Size ¶
func (m *UpsArcsReq) Size() (n int)
func (*UpsArcsReq) String ¶
func (m *UpsArcsReq) String() string
func (*UpsArcsReq) Unmarshal ¶
func (m *UpsArcsReq) Unmarshal(dAtA []byte) error
type UpsCountReply ¶
type UpsCountReply struct { // count 稿件数量 Count map[int64]int64 `` /* 146-byte string literal not displayed */ }
UpsCountReply 多个up主的稿件计数返回值
func (*UpsCountReply) Descriptor ¶
func (*UpsCountReply) Descriptor() ([]byte, []int)
func (*UpsCountReply) GetCount ¶
func (m *UpsCountReply) GetCount() map[int64]int64
func (*UpsCountReply) Marshal ¶
func (m *UpsCountReply) Marshal() (dAtA []byte, err error)
func (*UpsCountReply) ProtoMessage ¶
func (*UpsCountReply) ProtoMessage()
func (*UpsCountReply) Reset ¶
func (m *UpsCountReply) Reset()
func (*UpsCountReply) Size ¶
func (m *UpsCountReply) Size() (n int)
func (*UpsCountReply) String ¶
func (m *UpsCountReply) String() string
func (*UpsCountReply) Unmarshal ¶
func (m *UpsCountReply) Unmarshal(dAtA []byte) error
type UpsCountReq ¶
type UpsCountReq struct { // mids 多个用户id 必传 最大100个 Mids []int64 `protobuf:"varint,1,rep,packed,name=mids" json:"mids,omitempty" form:"mids,split" validate:"min=1,max=100,required"` }
UpsCountReq 多个up主的稿件计数的请求参数
func (*UpsCountReq) Descriptor ¶
func (*UpsCountReq) Descriptor() ([]byte, []int)
func (*UpsCountReq) GetMids ¶
func (m *UpsCountReq) GetMids() []int64
func (*UpsCountReq) Marshal ¶
func (m *UpsCountReq) Marshal() (dAtA []byte, err error)
func (*UpsCountReq) ProtoMessage ¶
func (*UpsCountReq) ProtoMessage()
func (*UpsCountReq) Reset ¶
func (m *UpsCountReq) Reset()
func (*UpsCountReq) Size ¶
func (m *UpsCountReq) Size() (n int)
func (*UpsCountReq) String ¶
func (m *UpsCountReq) String() string
func (*UpsCountReq) Unmarshal ¶
func (m *UpsCountReq) Unmarshal(dAtA []byte) error
type UpsSpecialReply ¶
type UpsSpecialReply struct { // up_specials 多个up主的特殊属性 UpSpecials map[int64]*UpSpecial `` /* 166-byte string literal not displayed */ }
UpsSpecialReply 多个up主特殊属性信息
func (*UpsSpecialReply) Descriptor ¶
func (*UpsSpecialReply) Descriptor() ([]byte, []int)
func (*UpsSpecialReply) GetUpSpecials ¶
func (m *UpsSpecialReply) GetUpSpecials() map[int64]*UpSpecial
func (*UpsSpecialReply) Marshal ¶
func (m *UpsSpecialReply) Marshal() (dAtA []byte, err error)
func (*UpsSpecialReply) ProtoMessage ¶
func (*UpsSpecialReply) ProtoMessage()
func (*UpsSpecialReply) Reset ¶
func (m *UpsSpecialReply) Reset()
func (*UpsSpecialReply) Size ¶
func (m *UpsSpecialReply) Size() (n int)
func (*UpsSpecialReply) String ¶
func (m *UpsSpecialReply) String() string
func (*UpsSpecialReply) Unmarshal ¶
func (m *UpsSpecialReply) Unmarshal(dAtA []byte) error
type UpsSpecialReq ¶
type UpsSpecialReq struct { // mids 多个用户id 必传 最大100个 Mids []int64 `protobuf:"varint,1,rep,packed,name=mids" json:"mids,omitempty" form:"mids,split" validate:"min=1,max=100,required"` }
UpsSpecialReq 多个up主特殊用户属性请求参数
func (*UpsSpecialReq) Descriptor ¶
func (*UpsSpecialReq) Descriptor() ([]byte, []int)
func (*UpsSpecialReq) GetMids ¶
func (m *UpsSpecialReq) GetMids() []int64
func (*UpsSpecialReq) Marshal ¶
func (m *UpsSpecialReq) Marshal() (dAtA []byte, err error)
func (*UpsSpecialReq) ProtoMessage ¶
func (*UpsSpecialReq) ProtoMessage()
func (*UpsSpecialReq) Reset ¶
func (m *UpsSpecialReq) Reset()
func (*UpsSpecialReq) Size ¶
func (m *UpsSpecialReq) Size() (n int)
func (*UpsSpecialReq) String ¶
func (m *UpsSpecialReq) String() string
func (*UpsSpecialReq) Unmarshal ¶
func (m *UpsSpecialReq) Unmarshal(dAtA []byte) error