Documentation ¶
Index ¶
- Constants
- Variables
- func NewRelationEndpoints() []*api.Endpoint
- func RegisterRelationHandler(s server.Server, hdlr RelationHandler, opts ...server.HandlerOption) error
- type AtTimeNewFansReq
- func (*AtTimeNewFansReq) Descriptor() ([]byte, []int)deprecated
- func (x *AtTimeNewFansReq) GetFollowsAt() string
- func (x *AtTimeNewFansReq) GetUserId() int64
- func (*AtTimeNewFansReq) ProtoMessage()
- func (x *AtTimeNewFansReq) ProtoReflect() protoreflect.Message
- func (x *AtTimeNewFansReq) Reset()
- func (x *AtTimeNewFansReq) String() string
- func (m *AtTimeNewFansReq) Validate() error
- func (m *AtTimeNewFansReq) ValidateAll() error
- type AtTimeNewFansReqMultiError
- type AtTimeNewFansReqValidationError
- func (e AtTimeNewFansReqValidationError) Cause() error
- func (e AtTimeNewFansReqValidationError) Error() string
- func (e AtTimeNewFansReqValidationError) ErrorName() string
- func (e AtTimeNewFansReqValidationError) Field() string
- func (e AtTimeNewFansReqValidationError) Key() bool
- func (e AtTimeNewFansReqValidationError) Reason() string
- type BatchFansNumReq
- func (*BatchFansNumReq) Descriptor() ([]byte, []int)deprecated
- func (x *BatchFansNumReq) GetUserIds() []int64
- func (*BatchFansNumReq) ProtoMessage()
- func (x *BatchFansNumReq) ProtoReflect() protoreflect.Message
- func (x *BatchFansNumReq) Reset()
- func (x *BatchFansNumReq) String() string
- func (m *BatchFansNumReq) Validate() error
- func (m *BatchFansNumReq) ValidateAll() error
- type BatchFansNumReqMultiError
- type BatchFansNumReqValidationError
- func (e BatchFansNumReqValidationError) Cause() error
- func (e BatchFansNumReqValidationError) Error() string
- func (e BatchFansNumReqValidationError) ErrorName() string
- func (e BatchFansNumReqValidationError) Field() string
- func (e BatchFansNumReqValidationError) Key() bool
- func (e BatchFansNumReqValidationError) Reason() string
- type BatchFansNumResp
- func (*BatchFansNumResp) Descriptor() ([]byte, []int)deprecated
- func (x *BatchFansNumResp) GetItem() map[string]string
- func (*BatchFansNumResp) ProtoMessage()
- func (x *BatchFansNumResp) ProtoReflect() protoreflect.Message
- func (x *BatchFansNumResp) Reset()
- func (x *BatchFansNumResp) String() string
- func (m *BatchFansNumResp) Validate() error
- func (m *BatchFansNumResp) ValidateAll() error
- type BatchFansNumRespMultiError
- type BatchFansNumRespValidationError
- func (e BatchFansNumRespValidationError) Cause() error
- func (e BatchFansNumRespValidationError) Error() string
- func (e BatchFansNumRespValidationError) ErrorName() string
- func (e BatchFansNumRespValidationError) Field() string
- func (e BatchFansNumRespValidationError) Key() bool
- func (e BatchFansNumRespValidationError) Reason() string
- type BatchFollowsHasReq
- func (*BatchFollowsHasReq) Descriptor() ([]byte, []int)deprecated
- func (x *BatchFollowsHasReq) GetUserId() int64
- func (x *BatchFollowsHasReq) GetUserIds() []int64
- func (*BatchFollowsHasReq) ProtoMessage()
- func (x *BatchFollowsHasReq) ProtoReflect() protoreflect.Message
- func (x *BatchFollowsHasReq) Reset()
- func (x *BatchFollowsHasReq) String() string
- func (m *BatchFollowsHasReq) Validate() error
- func (m *BatchFollowsHasReq) ValidateAll() error
- type BatchFollowsHasReqMultiError
- type BatchFollowsHasReqValidationError
- func (e BatchFollowsHasReqValidationError) Cause() error
- func (e BatchFollowsHasReqValidationError) Error() string
- func (e BatchFollowsHasReqValidationError) ErrorName() string
- func (e BatchFollowsHasReqValidationError) Field() string
- func (e BatchFollowsHasReqValidationError) Key() bool
- func (e BatchFollowsHasReqValidationError) Reason() string
- type BatchFollowsHasResp
- func (*BatchFollowsHasResp) Descriptor() ([]byte, []int)deprecated
- func (x *BatchFollowsHasResp) GetItem() map[int64]bool
- func (*BatchFollowsHasResp) ProtoMessage()
- func (x *BatchFollowsHasResp) ProtoReflect() protoreflect.Message
- func (x *BatchFollowsHasResp) Reset()
- func (x *BatchFollowsHasResp) String() string
- func (m *BatchFollowsHasResp) Validate() error
- func (m *BatchFollowsHasResp) ValidateAll() error
- type BatchFollowsHasRespMultiError
- type BatchFollowsHasRespValidationError
- func (e BatchFollowsHasRespValidationError) Cause() error
- func (e BatchFollowsHasRespValidationError) Error() string
- func (e BatchFollowsHasRespValidationError) ErrorName() string
- func (e BatchFollowsHasRespValidationError) Field() string
- func (e BatchFollowsHasRespValidationError) Key() bool
- func (e BatchFollowsHasRespValidationError) Reason() string
- type BatchFollowsNumReq
- func (*BatchFollowsNumReq) Descriptor() ([]byte, []int)deprecated
- func (x *BatchFollowsNumReq) GetUserIds() []int64
- func (*BatchFollowsNumReq) ProtoMessage()
- func (x *BatchFollowsNumReq) ProtoReflect() protoreflect.Message
- func (x *BatchFollowsNumReq) Reset()
- func (x *BatchFollowsNumReq) String() string
- func (m *BatchFollowsNumReq) Validate() error
- func (m *BatchFollowsNumReq) ValidateAll() error
- type BatchFollowsNumReqMultiError
- type BatchFollowsNumReqValidationError
- func (e BatchFollowsNumReqValidationError) Cause() error
- func (e BatchFollowsNumReqValidationError) Error() string
- func (e BatchFollowsNumReqValidationError) ErrorName() string
- func (e BatchFollowsNumReqValidationError) Field() string
- func (e BatchFollowsNumReqValidationError) Key() bool
- func (e BatchFollowsNumReqValidationError) Reason() string
- type BatchFollowsNumResp
- func (*BatchFollowsNumResp) Descriptor() ([]byte, []int)deprecated
- func (x *BatchFollowsNumResp) GetItem() map[string]string
- func (*BatchFollowsNumResp) ProtoMessage()
- func (x *BatchFollowsNumResp) ProtoReflect() protoreflect.Message
- func (x *BatchFollowsNumResp) Reset()
- func (x *BatchFollowsNumResp) String() string
- func (m *BatchFollowsNumResp) Validate() error
- func (m *BatchFollowsNumResp) ValidateAll() error
- type BatchFollowsNumRespMultiError
- type BatchFollowsNumRespValidationError
- func (e BatchFollowsNumRespValidationError) Cause() error
- func (e BatchFollowsNumRespValidationError) Error() string
- func (e BatchFollowsNumRespValidationError) ErrorName() string
- func (e BatchFollowsNumRespValidationError) Field() string
- func (e BatchFollowsNumRespValidationError) Key() bool
- func (e BatchFollowsNumRespValidationError) Reason() string
- type FansHasReq
- func (*FansHasReq) Descriptor() ([]byte, []int)deprecated
- func (x *FansHasReq) GetFansId() int64
- func (x *FansHasReq) GetUserId() int64
- func (*FansHasReq) ProtoMessage()
- func (x *FansHasReq) ProtoReflect() protoreflect.Message
- func (x *FansHasReq) Reset()
- func (x *FansHasReq) String() string
- func (m *FansHasReq) Validate() error
- func (m *FansHasReq) ValidateAll() error
- type FansHasReqMultiError
- type FansHasReqValidationError
- type FansHasResp
- func (*FansHasResp) Descriptor() ([]byte, []int)deprecated
- func (x *FansHasResp) GetResult() bool
- func (*FansHasResp) ProtoMessage()
- func (x *FansHasResp) ProtoReflect() protoreflect.Message
- func (x *FansHasResp) Reset()
- func (x *FansHasResp) String() string
- func (m *FansHasResp) Validate() error
- func (m *FansHasResp) ValidateAll() error
- type FansHasRespMultiError
- type FansHasRespValidationError
- func (e FansHasRespValidationError) Cause() error
- func (e FansHasRespValidationError) Error() string
- func (e FansHasRespValidationError) ErrorName() string
- func (e FansHasRespValidationError) Field() string
- func (e FansHasRespValidationError) Key() bool
- func (e FansHasRespValidationError) Reason() string
- type FansListReq
- func (*FansListReq) Descriptor() ([]byte, []int)deprecated
- func (x *FansListReq) GetPage() int32
- func (x *FansListReq) GetPageSize() int32
- func (x *FansListReq) GetUserId() int64
- func (*FansListReq) ProtoMessage()
- func (x *FansListReq) ProtoReflect() protoreflect.Message
- func (x *FansListReq) Reset()
- func (x *FansListReq) String() string
- func (m *FansListReq) Validate() error
- func (m *FansListReq) ValidateAll() error
- type FansListReqMultiError
- type FansListReqValidationError
- func (e FansListReqValidationError) Cause() error
- func (e FansListReqValidationError) Error() string
- func (e FansListReqValidationError) ErrorName() string
- func (e FansListReqValidationError) Field() string
- func (e FansListReqValidationError) Key() bool
- func (e FansListReqValidationError) Reason() string
- type FansListResp
- func (*FansListResp) Descriptor() ([]byte, []int)deprecated
- func (x *FansListResp) GetPage() int32
- func (x *FansListResp) GetPageSize() int32
- func (x *FansListResp) GetTotal() int64
- func (x *FansListResp) GetUserInfos() []*RelationItem
- func (*FansListResp) ProtoMessage()
- func (x *FansListResp) ProtoReflect() protoreflect.Message
- func (x *FansListResp) Reset()
- func (x *FansListResp) String() string
- func (m *FansListResp) Validate() error
- func (m *FansListResp) ValidateAll() error
- type FansListRespMultiError
- type FansListRespValidationError
- func (e FansListRespValidationError) Cause() error
- func (e FansListRespValidationError) Error() string
- func (e FansListRespValidationError) ErrorName() string
- func (e FansListRespValidationError) Field() string
- func (e FansListRespValidationError) Key() bool
- func (e FansListRespValidationError) Reason() string
- type FansNumReq
- func (*FansNumReq) Descriptor() ([]byte, []int)deprecated
- func (x *FansNumReq) GetUserId() int64
- func (*FansNumReq) ProtoMessage()
- func (x *FansNumReq) ProtoReflect() protoreflect.Message
- func (x *FansNumReq) Reset()
- func (x *FansNumReq) String() string
- func (m *FansNumReq) Validate() error
- func (m *FansNumReq) ValidateAll() error
- type FansNumReqMultiError
- type FansNumReqValidationError
- type FansNumResp
- func (*FansNumResp) Descriptor() ([]byte, []int)deprecated
- func (x *FansNumResp) GetNum() int64
- func (*FansNumResp) ProtoMessage()
- func (x *FansNumResp) ProtoReflect() protoreflect.Message
- func (x *FansNumResp) Reset()
- func (x *FansNumResp) String() string
- func (m *FansNumResp) Validate() error
- func (m *FansNumResp) ValidateAll() error
- type FansNumRespMultiError
- type FansNumRespValidationError
- func (e FansNumRespValidationError) Cause() error
- func (e FansNumRespValidationError) Error() string
- func (e FansNumRespValidationError) ErrorName() string
- func (e FansNumRespValidationError) Field() string
- func (e FansNumRespValidationError) Key() bool
- func (e FansNumRespValidationError) Reason() string
- type FollowsAddReq
- func (*FollowsAddReq) Descriptor() ([]byte, []int)deprecated
- func (x *FollowsAddReq) GetFollowId() int64
- func (x *FollowsAddReq) GetLiveId() int64
- func (x *FollowsAddReq) GetSendChatroomMsg() int32
- func (x *FollowsAddReq) GetUserId() int64
- func (*FollowsAddReq) ProtoMessage()
- func (x *FollowsAddReq) ProtoReflect() protoreflect.Message
- func (x *FollowsAddReq) Reset()
- func (x *FollowsAddReq) String() string
- func (m *FollowsAddReq) Validate() error
- func (m *FollowsAddReq) ValidateAll() error
- type FollowsAddReqMultiError
- type FollowsAddReqValidationError
- func (e FollowsAddReqValidationError) Cause() error
- func (e FollowsAddReqValidationError) Error() string
- func (e FollowsAddReqValidationError) ErrorName() string
- func (e FollowsAddReqValidationError) Field() string
- func (e FollowsAddReqValidationError) Key() bool
- func (e FollowsAddReqValidationError) Reason() string
- type FollowsDelReq
- func (*FollowsDelReq) Descriptor() ([]byte, []int)deprecated
- func (x *FollowsDelReq) GetFollowId() int64
- func (x *FollowsDelReq) GetUserId() int64
- func (*FollowsDelReq) ProtoMessage()
- func (x *FollowsDelReq) ProtoReflect() protoreflect.Message
- func (x *FollowsDelReq) Reset()
- func (x *FollowsDelReq) String() string
- func (m *FollowsDelReq) Validate() error
- func (m *FollowsDelReq) ValidateAll() error
- type FollowsDelReqMultiError
- type FollowsDelReqValidationError
- func (e FollowsDelReqValidationError) Cause() error
- func (e FollowsDelReqValidationError) Error() string
- func (e FollowsDelReqValidationError) ErrorName() string
- func (e FollowsDelReqValidationError) Field() string
- func (e FollowsDelReqValidationError) Key() bool
- func (e FollowsDelReqValidationError) Reason() string
- type FollowsHasReq
- func (*FollowsHasReq) Descriptor() ([]byte, []int)deprecated
- func (x *FollowsHasReq) GetFollowId() int64
- func (x *FollowsHasReq) GetUserId() int64
- func (*FollowsHasReq) ProtoMessage()
- func (x *FollowsHasReq) ProtoReflect() protoreflect.Message
- func (x *FollowsHasReq) Reset()
- func (x *FollowsHasReq) String() string
- func (m *FollowsHasReq) Validate() error
- func (m *FollowsHasReq) ValidateAll() error
- type FollowsHasReqMultiError
- type FollowsHasReqValidationError
- func (e FollowsHasReqValidationError) Cause() error
- func (e FollowsHasReqValidationError) Error() string
- func (e FollowsHasReqValidationError) ErrorName() string
- func (e FollowsHasReqValidationError) Field() string
- func (e FollowsHasReqValidationError) Key() bool
- func (e FollowsHasReqValidationError) Reason() string
- type FollowsHasResp
- func (*FollowsHasResp) Descriptor() ([]byte, []int)deprecated
- func (x *FollowsHasResp) GetResult() bool
- func (*FollowsHasResp) ProtoMessage()
- func (x *FollowsHasResp) ProtoReflect() protoreflect.Message
- func (x *FollowsHasResp) Reset()
- func (x *FollowsHasResp) String() string
- func (m *FollowsHasResp) Validate() error
- func (m *FollowsHasResp) ValidateAll() error
- type FollowsHasRespMultiError
- type FollowsHasRespValidationError
- func (e FollowsHasRespValidationError) Cause() error
- func (e FollowsHasRespValidationError) Error() string
- func (e FollowsHasRespValidationError) ErrorName() string
- func (e FollowsHasRespValidationError) Field() string
- func (e FollowsHasRespValidationError) Key() bool
- func (e FollowsHasRespValidationError) Reason() string
- type FollowsListReq
- func (*FollowsListReq) Descriptor() ([]byte, []int)deprecated
- func (x *FollowsListReq) GetPage() int32
- func (x *FollowsListReq) GetPageSize() int32
- func (x *FollowsListReq) GetUserId() int64
- func (*FollowsListReq) ProtoMessage()
- func (x *FollowsListReq) ProtoReflect() protoreflect.Message
- func (x *FollowsListReq) Reset()
- func (x *FollowsListReq) String() string
- func (m *FollowsListReq) Validate() error
- func (m *FollowsListReq) ValidateAll() error
- type FollowsListReqMultiError
- type FollowsListReqValidationError
- func (e FollowsListReqValidationError) Cause() error
- func (e FollowsListReqValidationError) Error() string
- func (e FollowsListReqValidationError) ErrorName() string
- func (e FollowsListReqValidationError) Field() string
- func (e FollowsListReqValidationError) Key() bool
- func (e FollowsListReqValidationError) Reason() string
- type FollowsListResp
- func (*FollowsListResp) Descriptor() ([]byte, []int)deprecated
- func (x *FollowsListResp) GetPage() int32
- func (x *FollowsListResp) GetPageSize() int32
- func (x *FollowsListResp) GetTotal() int64
- func (x *FollowsListResp) GetUserInfos() []*RelationItem
- func (*FollowsListResp) ProtoMessage()
- func (x *FollowsListResp) ProtoReflect() protoreflect.Message
- func (x *FollowsListResp) Reset()
- func (x *FollowsListResp) String() string
- func (m *FollowsListResp) Validate() error
- func (m *FollowsListResp) ValidateAll() error
- type FollowsListRespMultiError
- type FollowsListRespValidationError
- func (e FollowsListRespValidationError) Cause() error
- func (e FollowsListRespValidationError) Error() string
- func (e FollowsListRespValidationError) ErrorName() string
- func (e FollowsListRespValidationError) Field() string
- func (e FollowsListRespValidationError) Key() bool
- func (e FollowsListRespValidationError) Reason() string
- type FollowsNumReq
- func (*FollowsNumReq) Descriptor() ([]byte, []int)deprecated
- func (x *FollowsNumReq) GetUserId() int64
- func (*FollowsNumReq) ProtoMessage()
- func (x *FollowsNumReq) ProtoReflect() protoreflect.Message
- func (x *FollowsNumReq) Reset()
- func (x *FollowsNumReq) String() string
- func (m *FollowsNumReq) Validate() error
- func (m *FollowsNumReq) ValidateAll() error
- type FollowsNumReqMultiError
- type FollowsNumReqValidationError
- func (e FollowsNumReqValidationError) Cause() error
- func (e FollowsNumReqValidationError) Error() string
- func (e FollowsNumReqValidationError) ErrorName() string
- func (e FollowsNumReqValidationError) Field() string
- func (e FollowsNumReqValidationError) Key() bool
- func (e FollowsNumReqValidationError) Reason() string
- type FollowsNumResp
- func (*FollowsNumResp) Descriptor() ([]byte, []int)deprecated
- func (x *FollowsNumResp) GetNum() int64
- func (*FollowsNumResp) ProtoMessage()
- func (x *FollowsNumResp) ProtoReflect() protoreflect.Message
- func (x *FollowsNumResp) Reset()
- func (x *FollowsNumResp) String() string
- func (m *FollowsNumResp) Validate() error
- func (m *FollowsNumResp) ValidateAll() error
- type FollowsNumRespMultiError
- type FollowsNumRespValidationError
- func (e FollowsNumRespValidationError) Cause() error
- func (e FollowsNumRespValidationError) Error() string
- func (e FollowsNumRespValidationError) ErrorName() string
- func (e FollowsNumRespValidationError) Field() string
- func (e FollowsNumRespValidationError) Key() bool
- func (e FollowsNumRespValidationError) Reason() string
- type FriendsListReq
- func (*FriendsListReq) Descriptor() ([]byte, []int)deprecated
- func (x *FriendsListReq) GetPage() int32
- func (x *FriendsListReq) GetPageSize() int32
- func (x *FriendsListReq) GetUserId() int64
- func (*FriendsListReq) ProtoMessage()
- func (x *FriendsListReq) ProtoReflect() protoreflect.Message
- func (x *FriendsListReq) Reset()
- func (x *FriendsListReq) String() string
- func (m *FriendsListReq) Validate() error
- func (m *FriendsListReq) ValidateAll() error
- type FriendsListReqMultiError
- type FriendsListReqValidationError
- func (e FriendsListReqValidationError) Cause() error
- func (e FriendsListReqValidationError) Error() string
- func (e FriendsListReqValidationError) ErrorName() string
- func (e FriendsListReqValidationError) Field() string
- func (e FriendsListReqValidationError) Key() bool
- func (e FriendsListReqValidationError) Reason() string
- type FriendsListResp
- func (*FriendsListResp) Descriptor() ([]byte, []int)deprecated
- func (x *FriendsListResp) GetPage() int32
- func (x *FriendsListResp) GetPageSize() int32
- func (x *FriendsListResp) GetTotal() int64
- func (x *FriendsListResp) GetUserInfos() []*RelationItem
- func (*FriendsListResp) ProtoMessage()
- func (x *FriendsListResp) ProtoReflect() protoreflect.Message
- func (x *FriendsListResp) Reset()
- func (x *FriendsListResp) String() string
- func (m *FriendsListResp) Validate() error
- func (m *FriendsListResp) ValidateAll() error
- type FriendsListRespMultiError
- type FriendsListRespValidationError
- func (e FriendsListRespValidationError) Cause() error
- func (e FriendsListRespValidationError) Error() string
- func (e FriendsListRespValidationError) ErrorName() string
- func (e FriendsListRespValidationError) Field() string
- func (e FriendsListRespValidationError) Key() bool
- func (e FriendsListRespValidationError) Reason() string
- type FriendsNumReq
- func (*FriendsNumReq) Descriptor() ([]byte, []int)deprecated
- func (x *FriendsNumReq) GetUserId() int64
- func (*FriendsNumReq) ProtoMessage()
- func (x *FriendsNumReq) ProtoReflect() protoreflect.Message
- func (x *FriendsNumReq) Reset()
- func (x *FriendsNumReq) String() string
- func (m *FriendsNumReq) Validate() error
- func (m *FriendsNumReq) ValidateAll() error
- type FriendsNumReqMultiError
- type FriendsNumReqValidationError
- func (e FriendsNumReqValidationError) Cause() error
- func (e FriendsNumReqValidationError) Error() string
- func (e FriendsNumReqValidationError) ErrorName() string
- func (e FriendsNumReqValidationError) Field() string
- func (e FriendsNumReqValidationError) Key() bool
- func (e FriendsNumReqValidationError) Reason() string
- type FriendsNumResp
- func (*FriendsNumResp) Descriptor() ([]byte, []int)deprecated
- func (x *FriendsNumResp) GetNum() int64
- func (*FriendsNumResp) ProtoMessage()
- func (x *FriendsNumResp) ProtoReflect() protoreflect.Message
- func (x *FriendsNumResp) Reset()
- func (x *FriendsNumResp) String() string
- func (m *FriendsNumResp) Validate() error
- func (m *FriendsNumResp) ValidateAll() error
- type FriendsNumRespMultiError
- type FriendsNumRespValidationError
- func (e FriendsNumRespValidationError) Cause() error
- func (e FriendsNumRespValidationError) Error() string
- func (e FriendsNumRespValidationError) ErrorName() string
- func (e FriendsNumRespValidationError) Field() string
- func (e FriendsNumRespValidationError) Key() bool
- func (e FriendsNumRespValidationError) Reason() string
- type RelationHandler
- type RelationItem
- func (*RelationItem) Descriptor() ([]byte, []int)deprecated
- func (x *RelationItem) GetCreateTime() string
- func (x *RelationItem) GetUserId() int64
- func (*RelationItem) ProtoMessage()
- func (x *RelationItem) ProtoReflect() protoreflect.Message
- func (x *RelationItem) Reset()
- func (x *RelationItem) String() string
- func (m *RelationItem) Validate() error
- func (m *RelationItem) ValidateAll() error
- type RelationItemMultiError
- type RelationItemValidationError
- func (e RelationItemValidationError) Cause() error
- func (e RelationItemValidationError) Error() string
- func (e RelationItemValidationError) ErrorName() string
- func (e RelationItemValidationError) Field() string
- func (e RelationItemValidationError) Key() bool
- func (e RelationItemValidationError) Reason() string
- type RelationService
- type RemoveRelationsReq
- func (*RemoveRelationsReq) Descriptor() ([]byte, []int)deprecated
- func (x *RemoveRelationsReq) GetRelationUserIds() []int64
- func (x *RemoveRelationsReq) GetUserId() int64
- func (*RemoveRelationsReq) ProtoMessage()
- func (x *RemoveRelationsReq) ProtoReflect() protoreflect.Message
- func (x *RemoveRelationsReq) Reset()
- func (x *RemoveRelationsReq) String() string
- func (m *RemoveRelationsReq) Validate() error
- func (m *RemoveRelationsReq) ValidateAll() error
- type RemoveRelationsReqMultiError
- type RemoveRelationsReqValidationError
- func (e RemoveRelationsReqValidationError) Cause() error
- func (e RemoveRelationsReqValidationError) Error() string
- func (e RemoveRelationsReqValidationError) ErrorName() string
- func (e RemoveRelationsReqValidationError) Field() string
- func (e RemoveRelationsReqValidationError) Key() bool
- func (e RemoveRelationsReqValidationError) Reason() string
Constants ¶
const (
TopicUserFollow = "event.user.follows"
)
Variables ¶
var File_proto_relation_relation_proto protoreflect.FileDescriptor
Functions ¶
func NewRelationEndpoints ¶
func RegisterRelationHandler ¶
func RegisterRelationHandler(s server.Server, hdlr RelationHandler, opts ...server.HandlerOption) error
Types ¶
type AtTimeNewFansReq ¶
type AtTimeNewFansReq struct { FollowsAt string `protobuf:"bytes,1,opt,name=FollowsAt,proto3" json:"FollowsAt"` // 开始关注时间 UserId int64 `protobuf:"varint,2,opt,name=UserId,proto3" json:"UserId"` // 用户ID // contains filtered or unexported fields }
func (*AtTimeNewFansReq) Descriptor
deprecated
func (*AtTimeNewFansReq) Descriptor() ([]byte, []int)
Deprecated: Use AtTimeNewFansReq.ProtoReflect.Descriptor instead.
func (*AtTimeNewFansReq) GetFollowsAt ¶
func (x *AtTimeNewFansReq) GetFollowsAt() string
func (*AtTimeNewFansReq) GetUserId ¶
func (x *AtTimeNewFansReq) GetUserId() int64
func (*AtTimeNewFansReq) ProtoMessage ¶
func (*AtTimeNewFansReq) ProtoMessage()
func (*AtTimeNewFansReq) ProtoReflect ¶
func (x *AtTimeNewFansReq) ProtoReflect() protoreflect.Message
func (*AtTimeNewFansReq) Reset ¶
func (x *AtTimeNewFansReq) Reset()
func (*AtTimeNewFansReq) String ¶
func (x *AtTimeNewFansReq) String() string
func (*AtTimeNewFansReq) Validate ¶
func (m *AtTimeNewFansReq) Validate() error
Validate checks the field values on AtTimeNewFansReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AtTimeNewFansReq) ValidateAll ¶
func (m *AtTimeNewFansReq) ValidateAll() error
ValidateAll checks the field values on AtTimeNewFansReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AtTimeNewFansReqMultiError, or nil if none found.
type AtTimeNewFansReqMultiError ¶
type AtTimeNewFansReqMultiError []error
AtTimeNewFansReqMultiError is an error wrapping multiple validation errors returned by AtTimeNewFansReq.ValidateAll() if the designated constraints aren't met.
func (AtTimeNewFansReqMultiError) AllErrors ¶
func (m AtTimeNewFansReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AtTimeNewFansReqMultiError) Error ¶
func (m AtTimeNewFansReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AtTimeNewFansReqValidationError ¶
type AtTimeNewFansReqValidationError struct {
// contains filtered or unexported fields
}
AtTimeNewFansReqValidationError is the validation error returned by AtTimeNewFansReq.Validate if the designated constraints aren't met.
func (AtTimeNewFansReqValidationError) Cause ¶
func (e AtTimeNewFansReqValidationError) Cause() error
Cause function returns cause value.
func (AtTimeNewFansReqValidationError) Error ¶
func (e AtTimeNewFansReqValidationError) Error() string
Error satisfies the builtin error interface
func (AtTimeNewFansReqValidationError) ErrorName ¶
func (e AtTimeNewFansReqValidationError) ErrorName() string
ErrorName returns error name.
func (AtTimeNewFansReqValidationError) Field ¶
func (e AtTimeNewFansReqValidationError) Field() string
Field function returns field value.
func (AtTimeNewFansReqValidationError) Key ¶
func (e AtTimeNewFansReqValidationError) Key() bool
Key function returns key value.
func (AtTimeNewFansReqValidationError) Reason ¶
func (e AtTimeNewFansReqValidationError) Reason() string
Reason function returns reason value.
type BatchFansNumReq ¶
type BatchFansNumReq struct { UserIds []int64 `protobuf:"varint,1,rep,packed,name=UserIds,proto3" json:"UserIds"` // 主播UID列表 // contains filtered or unexported fields }
批量获取粉丝数
func (*BatchFansNumReq) Descriptor
deprecated
func (*BatchFansNumReq) Descriptor() ([]byte, []int)
Deprecated: Use BatchFansNumReq.ProtoReflect.Descriptor instead.
func (*BatchFansNumReq) GetUserIds ¶
func (x *BatchFansNumReq) GetUserIds() []int64
func (*BatchFansNumReq) ProtoMessage ¶
func (*BatchFansNumReq) ProtoMessage()
func (*BatchFansNumReq) ProtoReflect ¶
func (x *BatchFansNumReq) ProtoReflect() protoreflect.Message
func (*BatchFansNumReq) Reset ¶
func (x *BatchFansNumReq) Reset()
func (*BatchFansNumReq) String ¶
func (x *BatchFansNumReq) String() string
func (*BatchFansNumReq) Validate ¶
func (m *BatchFansNumReq) Validate() error
Validate checks the field values on BatchFansNumReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BatchFansNumReq) ValidateAll ¶
func (m *BatchFansNumReq) ValidateAll() error
ValidateAll checks the field values on BatchFansNumReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BatchFansNumReqMultiError, or nil if none found.
type BatchFansNumReqMultiError ¶
type BatchFansNumReqMultiError []error
BatchFansNumReqMultiError is an error wrapping multiple validation errors returned by BatchFansNumReq.ValidateAll() if the designated constraints aren't met.
func (BatchFansNumReqMultiError) AllErrors ¶
func (m BatchFansNumReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchFansNumReqMultiError) Error ¶
func (m BatchFansNumReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchFansNumReqValidationError ¶
type BatchFansNumReqValidationError struct {
// contains filtered or unexported fields
}
BatchFansNumReqValidationError is the validation error returned by BatchFansNumReq.Validate if the designated constraints aren't met.
func (BatchFansNumReqValidationError) Cause ¶
func (e BatchFansNumReqValidationError) Cause() error
Cause function returns cause value.
func (BatchFansNumReqValidationError) Error ¶
func (e BatchFansNumReqValidationError) Error() string
Error satisfies the builtin error interface
func (BatchFansNumReqValidationError) ErrorName ¶
func (e BatchFansNumReqValidationError) ErrorName() string
ErrorName returns error name.
func (BatchFansNumReqValidationError) Field ¶
func (e BatchFansNumReqValidationError) Field() string
Field function returns field value.
func (BatchFansNumReqValidationError) Key ¶
func (e BatchFansNumReqValidationError) Key() bool
Key function returns key value.
func (BatchFansNumReqValidationError) Reason ¶
func (e BatchFansNumReqValidationError) Reason() string
Reason function returns reason value.
type BatchFansNumResp ¶
type BatchFansNumResp struct { Item map[string]string `` // 用户基本信息 /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BatchFansNumResp) Descriptor
deprecated
func (*BatchFansNumResp) Descriptor() ([]byte, []int)
Deprecated: Use BatchFansNumResp.ProtoReflect.Descriptor instead.
func (*BatchFansNumResp) GetItem ¶
func (x *BatchFansNumResp) GetItem() map[string]string
func (*BatchFansNumResp) ProtoMessage ¶
func (*BatchFansNumResp) ProtoMessage()
func (*BatchFansNumResp) ProtoReflect ¶
func (x *BatchFansNumResp) ProtoReflect() protoreflect.Message
func (*BatchFansNumResp) Reset ¶
func (x *BatchFansNumResp) Reset()
func (*BatchFansNumResp) String ¶
func (x *BatchFansNumResp) String() string
func (*BatchFansNumResp) Validate ¶
func (m *BatchFansNumResp) Validate() error
Validate checks the field values on BatchFansNumResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BatchFansNumResp) ValidateAll ¶
func (m *BatchFansNumResp) ValidateAll() error
ValidateAll checks the field values on BatchFansNumResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BatchFansNumRespMultiError, or nil if none found.
type BatchFansNumRespMultiError ¶
type BatchFansNumRespMultiError []error
BatchFansNumRespMultiError is an error wrapping multiple validation errors returned by BatchFansNumResp.ValidateAll() if the designated constraints aren't met.
func (BatchFansNumRespMultiError) AllErrors ¶
func (m BatchFansNumRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchFansNumRespMultiError) Error ¶
func (m BatchFansNumRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchFansNumRespValidationError ¶
type BatchFansNumRespValidationError struct {
// contains filtered or unexported fields
}
BatchFansNumRespValidationError is the validation error returned by BatchFansNumResp.Validate if the designated constraints aren't met.
func (BatchFansNumRespValidationError) Cause ¶
func (e BatchFansNumRespValidationError) Cause() error
Cause function returns cause value.
func (BatchFansNumRespValidationError) Error ¶
func (e BatchFansNumRespValidationError) Error() string
Error satisfies the builtin error interface
func (BatchFansNumRespValidationError) ErrorName ¶
func (e BatchFansNumRespValidationError) ErrorName() string
ErrorName returns error name.
func (BatchFansNumRespValidationError) Field ¶
func (e BatchFansNumRespValidationError) Field() string
Field function returns field value.
func (BatchFansNumRespValidationError) Key ¶
func (e BatchFansNumRespValidationError) Key() bool
Key function returns key value.
func (BatchFansNumRespValidationError) Reason ¶
func (e BatchFansNumRespValidationError) Reason() string
Reason function returns reason value.
type BatchFollowsHasReq ¶
type BatchFollowsHasReq struct { UserId int64 `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId"` // 当前用户 UserIds []int64 `protobuf:"varint,2,rep,packed,name=UserIds,proto3" json:"UserIds"` // 当前是否关注的ids // contains filtered or unexported fields }
批量获取是否关注
func (*BatchFollowsHasReq) Descriptor
deprecated
func (*BatchFollowsHasReq) Descriptor() ([]byte, []int)
Deprecated: Use BatchFollowsHasReq.ProtoReflect.Descriptor instead.
func (*BatchFollowsHasReq) GetUserId ¶
func (x *BatchFollowsHasReq) GetUserId() int64
func (*BatchFollowsHasReq) GetUserIds ¶
func (x *BatchFollowsHasReq) GetUserIds() []int64
func (*BatchFollowsHasReq) ProtoMessage ¶
func (*BatchFollowsHasReq) ProtoMessage()
func (*BatchFollowsHasReq) ProtoReflect ¶
func (x *BatchFollowsHasReq) ProtoReflect() protoreflect.Message
func (*BatchFollowsHasReq) Reset ¶
func (x *BatchFollowsHasReq) Reset()
func (*BatchFollowsHasReq) String ¶
func (x *BatchFollowsHasReq) String() string
func (*BatchFollowsHasReq) Validate ¶
func (m *BatchFollowsHasReq) Validate() error
Validate checks the field values on BatchFollowsHasReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BatchFollowsHasReq) ValidateAll ¶
func (m *BatchFollowsHasReq) ValidateAll() error
ValidateAll checks the field values on BatchFollowsHasReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BatchFollowsHasReqMultiError, or nil if none found.
type BatchFollowsHasReqMultiError ¶
type BatchFollowsHasReqMultiError []error
BatchFollowsHasReqMultiError is an error wrapping multiple validation errors returned by BatchFollowsHasReq.ValidateAll() if the designated constraints aren't met.
func (BatchFollowsHasReqMultiError) AllErrors ¶
func (m BatchFollowsHasReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchFollowsHasReqMultiError) Error ¶
func (m BatchFollowsHasReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchFollowsHasReqValidationError ¶
type BatchFollowsHasReqValidationError struct {
// contains filtered or unexported fields
}
BatchFollowsHasReqValidationError is the validation error returned by BatchFollowsHasReq.Validate if the designated constraints aren't met.
func (BatchFollowsHasReqValidationError) Cause ¶
func (e BatchFollowsHasReqValidationError) Cause() error
Cause function returns cause value.
func (BatchFollowsHasReqValidationError) Error ¶
func (e BatchFollowsHasReqValidationError) Error() string
Error satisfies the builtin error interface
func (BatchFollowsHasReqValidationError) ErrorName ¶
func (e BatchFollowsHasReqValidationError) ErrorName() string
ErrorName returns error name.
func (BatchFollowsHasReqValidationError) Field ¶
func (e BatchFollowsHasReqValidationError) Field() string
Field function returns field value.
func (BatchFollowsHasReqValidationError) Key ¶
func (e BatchFollowsHasReqValidationError) Key() bool
Key function returns key value.
func (BatchFollowsHasReqValidationError) Reason ¶
func (e BatchFollowsHasReqValidationError) Reason() string
Reason function returns reason value.
type BatchFollowsHasResp ¶
type BatchFollowsHasResp struct { Item map[int64]bool `` // 批量关注关系 /* 141-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BatchFollowsHasResp) Descriptor
deprecated
func (*BatchFollowsHasResp) Descriptor() ([]byte, []int)
Deprecated: Use BatchFollowsHasResp.ProtoReflect.Descriptor instead.
func (*BatchFollowsHasResp) GetItem ¶
func (x *BatchFollowsHasResp) GetItem() map[int64]bool
func (*BatchFollowsHasResp) ProtoMessage ¶
func (*BatchFollowsHasResp) ProtoMessage()
func (*BatchFollowsHasResp) ProtoReflect ¶
func (x *BatchFollowsHasResp) ProtoReflect() protoreflect.Message
func (*BatchFollowsHasResp) Reset ¶
func (x *BatchFollowsHasResp) Reset()
func (*BatchFollowsHasResp) String ¶
func (x *BatchFollowsHasResp) String() string
func (*BatchFollowsHasResp) Validate ¶
func (m *BatchFollowsHasResp) Validate() error
Validate checks the field values on BatchFollowsHasResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BatchFollowsHasResp) ValidateAll ¶
func (m *BatchFollowsHasResp) ValidateAll() error
ValidateAll checks the field values on BatchFollowsHasResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BatchFollowsHasRespMultiError, or nil if none found.
type BatchFollowsHasRespMultiError ¶
type BatchFollowsHasRespMultiError []error
BatchFollowsHasRespMultiError is an error wrapping multiple validation errors returned by BatchFollowsHasResp.ValidateAll() if the designated constraints aren't met.
func (BatchFollowsHasRespMultiError) AllErrors ¶
func (m BatchFollowsHasRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchFollowsHasRespMultiError) Error ¶
func (m BatchFollowsHasRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchFollowsHasRespValidationError ¶
type BatchFollowsHasRespValidationError struct {
// contains filtered or unexported fields
}
BatchFollowsHasRespValidationError is the validation error returned by BatchFollowsHasResp.Validate if the designated constraints aren't met.
func (BatchFollowsHasRespValidationError) Cause ¶
func (e BatchFollowsHasRespValidationError) Cause() error
Cause function returns cause value.
func (BatchFollowsHasRespValidationError) Error ¶
func (e BatchFollowsHasRespValidationError) Error() string
Error satisfies the builtin error interface
func (BatchFollowsHasRespValidationError) ErrorName ¶
func (e BatchFollowsHasRespValidationError) ErrorName() string
ErrorName returns error name.
func (BatchFollowsHasRespValidationError) Field ¶
func (e BatchFollowsHasRespValidationError) Field() string
Field function returns field value.
func (BatchFollowsHasRespValidationError) Key ¶
func (e BatchFollowsHasRespValidationError) Key() bool
Key function returns key value.
func (BatchFollowsHasRespValidationError) Reason ¶
func (e BatchFollowsHasRespValidationError) Reason() string
Reason function returns reason value.
type BatchFollowsNumReq ¶
type BatchFollowsNumReq struct { UserIds []int64 `protobuf:"varint,1,rep,packed,name=UserIds,proto3" json:"UserIds"` // 主播UID列表 // contains filtered or unexported fields }
批量获取关注数
func (*BatchFollowsNumReq) Descriptor
deprecated
func (*BatchFollowsNumReq) Descriptor() ([]byte, []int)
Deprecated: Use BatchFollowsNumReq.ProtoReflect.Descriptor instead.
func (*BatchFollowsNumReq) GetUserIds ¶
func (x *BatchFollowsNumReq) GetUserIds() []int64
func (*BatchFollowsNumReq) ProtoMessage ¶
func (*BatchFollowsNumReq) ProtoMessage()
func (*BatchFollowsNumReq) ProtoReflect ¶
func (x *BatchFollowsNumReq) ProtoReflect() protoreflect.Message
func (*BatchFollowsNumReq) Reset ¶
func (x *BatchFollowsNumReq) Reset()
func (*BatchFollowsNumReq) String ¶
func (x *BatchFollowsNumReq) String() string
func (*BatchFollowsNumReq) Validate ¶
func (m *BatchFollowsNumReq) Validate() error
Validate checks the field values on BatchFollowsNumReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BatchFollowsNumReq) ValidateAll ¶
func (m *BatchFollowsNumReq) ValidateAll() error
ValidateAll checks the field values on BatchFollowsNumReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BatchFollowsNumReqMultiError, or nil if none found.
type BatchFollowsNumReqMultiError ¶
type BatchFollowsNumReqMultiError []error
BatchFollowsNumReqMultiError is an error wrapping multiple validation errors returned by BatchFollowsNumReq.ValidateAll() if the designated constraints aren't met.
func (BatchFollowsNumReqMultiError) AllErrors ¶
func (m BatchFollowsNumReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchFollowsNumReqMultiError) Error ¶
func (m BatchFollowsNumReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchFollowsNumReqValidationError ¶
type BatchFollowsNumReqValidationError struct {
// contains filtered or unexported fields
}
BatchFollowsNumReqValidationError is the validation error returned by BatchFollowsNumReq.Validate if the designated constraints aren't met.
func (BatchFollowsNumReqValidationError) Cause ¶
func (e BatchFollowsNumReqValidationError) Cause() error
Cause function returns cause value.
func (BatchFollowsNumReqValidationError) Error ¶
func (e BatchFollowsNumReqValidationError) Error() string
Error satisfies the builtin error interface
func (BatchFollowsNumReqValidationError) ErrorName ¶
func (e BatchFollowsNumReqValidationError) ErrorName() string
ErrorName returns error name.
func (BatchFollowsNumReqValidationError) Field ¶
func (e BatchFollowsNumReqValidationError) Field() string
Field function returns field value.
func (BatchFollowsNumReqValidationError) Key ¶
func (e BatchFollowsNumReqValidationError) Key() bool
Key function returns key value.
func (BatchFollowsNumReqValidationError) Reason ¶
func (e BatchFollowsNumReqValidationError) Reason() string
Reason function returns reason value.
type BatchFollowsNumResp ¶
type BatchFollowsNumResp struct { Item map[string]string `` // 用户基本信息 /* 139-byte string literal not displayed */ // contains filtered or unexported fields }
func (*BatchFollowsNumResp) Descriptor
deprecated
func (*BatchFollowsNumResp) Descriptor() ([]byte, []int)
Deprecated: Use BatchFollowsNumResp.ProtoReflect.Descriptor instead.
func (*BatchFollowsNumResp) GetItem ¶
func (x *BatchFollowsNumResp) GetItem() map[string]string
func (*BatchFollowsNumResp) ProtoMessage ¶
func (*BatchFollowsNumResp) ProtoMessage()
func (*BatchFollowsNumResp) ProtoReflect ¶
func (x *BatchFollowsNumResp) ProtoReflect() protoreflect.Message
func (*BatchFollowsNumResp) Reset ¶
func (x *BatchFollowsNumResp) Reset()
func (*BatchFollowsNumResp) String ¶
func (x *BatchFollowsNumResp) String() string
func (*BatchFollowsNumResp) Validate ¶
func (m *BatchFollowsNumResp) Validate() error
Validate checks the field values on BatchFollowsNumResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BatchFollowsNumResp) ValidateAll ¶
func (m *BatchFollowsNumResp) ValidateAll() error
ValidateAll checks the field values on BatchFollowsNumResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BatchFollowsNumRespMultiError, or nil if none found.
type BatchFollowsNumRespMultiError ¶
type BatchFollowsNumRespMultiError []error
BatchFollowsNumRespMultiError is an error wrapping multiple validation errors returned by BatchFollowsNumResp.ValidateAll() if the designated constraints aren't met.
func (BatchFollowsNumRespMultiError) AllErrors ¶
func (m BatchFollowsNumRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BatchFollowsNumRespMultiError) Error ¶
func (m BatchFollowsNumRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BatchFollowsNumRespValidationError ¶
type BatchFollowsNumRespValidationError struct {
// contains filtered or unexported fields
}
BatchFollowsNumRespValidationError is the validation error returned by BatchFollowsNumResp.Validate if the designated constraints aren't met.
func (BatchFollowsNumRespValidationError) Cause ¶
func (e BatchFollowsNumRespValidationError) Cause() error
Cause function returns cause value.
func (BatchFollowsNumRespValidationError) Error ¶
func (e BatchFollowsNumRespValidationError) Error() string
Error satisfies the builtin error interface
func (BatchFollowsNumRespValidationError) ErrorName ¶
func (e BatchFollowsNumRespValidationError) ErrorName() string
ErrorName returns error name.
func (BatchFollowsNumRespValidationError) Field ¶
func (e BatchFollowsNumRespValidationError) Field() string
Field function returns field value.
func (BatchFollowsNumRespValidationError) Key ¶
func (e BatchFollowsNumRespValidationError) Key() bool
Key function returns key value.
func (BatchFollowsNumRespValidationError) Reason ¶
func (e BatchFollowsNumRespValidationError) Reason() string
Reason function returns reason value.
type FansHasReq ¶
type FansHasReq struct { UserId int64 `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId"` FansId int64 `protobuf:"varint,2,opt,name=FansId,proto3" json:"FansId"` // contains filtered or unexported fields }
是否是粉丝
func (*FansHasReq) Descriptor
deprecated
func (*FansHasReq) Descriptor() ([]byte, []int)
Deprecated: Use FansHasReq.ProtoReflect.Descriptor instead.
func (*FansHasReq) GetFansId ¶
func (x *FansHasReq) GetFansId() int64
func (*FansHasReq) GetUserId ¶
func (x *FansHasReq) GetUserId() int64
func (*FansHasReq) ProtoMessage ¶
func (*FansHasReq) ProtoMessage()
func (*FansHasReq) ProtoReflect ¶
func (x *FansHasReq) ProtoReflect() protoreflect.Message
func (*FansHasReq) Reset ¶
func (x *FansHasReq) Reset()
func (*FansHasReq) String ¶
func (x *FansHasReq) String() string
func (*FansHasReq) Validate ¶
func (m *FansHasReq) Validate() error
Validate checks the field values on FansHasReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FansHasReq) ValidateAll ¶
func (m *FansHasReq) ValidateAll() error
ValidateAll checks the field values on FansHasReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FansHasReqMultiError, or nil if none found.
type FansHasReqMultiError ¶
type FansHasReqMultiError []error
FansHasReqMultiError is an error wrapping multiple validation errors returned by FansHasReq.ValidateAll() if the designated constraints aren't met.
func (FansHasReqMultiError) AllErrors ¶
func (m FansHasReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FansHasReqMultiError) Error ¶
func (m FansHasReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FansHasReqValidationError ¶
type FansHasReqValidationError struct {
// contains filtered or unexported fields
}
FansHasReqValidationError is the validation error returned by FansHasReq.Validate if the designated constraints aren't met.
func (FansHasReqValidationError) Cause ¶
func (e FansHasReqValidationError) Cause() error
Cause function returns cause value.
func (FansHasReqValidationError) Error ¶
func (e FansHasReqValidationError) Error() string
Error satisfies the builtin error interface
func (FansHasReqValidationError) ErrorName ¶
func (e FansHasReqValidationError) ErrorName() string
ErrorName returns error name.
func (FansHasReqValidationError) Field ¶
func (e FansHasReqValidationError) Field() string
Field function returns field value.
func (FansHasReqValidationError) Key ¶
func (e FansHasReqValidationError) Key() bool
Key function returns key value.
func (FansHasReqValidationError) Reason ¶
func (e FansHasReqValidationError) Reason() string
Reason function returns reason value.
type FansHasResp ¶
type FansHasResp struct { Result bool `protobuf:"varint,1,opt,name=Result,proto3" json:"Result"` // contains filtered or unexported fields }
func (*FansHasResp) Descriptor
deprecated
func (*FansHasResp) Descriptor() ([]byte, []int)
Deprecated: Use FansHasResp.ProtoReflect.Descriptor instead.
func (*FansHasResp) GetResult ¶
func (x *FansHasResp) GetResult() bool
func (*FansHasResp) ProtoMessage ¶
func (*FansHasResp) ProtoMessage()
func (*FansHasResp) ProtoReflect ¶
func (x *FansHasResp) ProtoReflect() protoreflect.Message
func (*FansHasResp) Reset ¶
func (x *FansHasResp) Reset()
func (*FansHasResp) String ¶
func (x *FansHasResp) String() string
func (*FansHasResp) Validate ¶
func (m *FansHasResp) Validate() error
Validate checks the field values on FansHasResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FansHasResp) ValidateAll ¶
func (m *FansHasResp) ValidateAll() error
ValidateAll checks the field values on FansHasResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FansHasRespMultiError, or nil if none found.
type FansHasRespMultiError ¶
type FansHasRespMultiError []error
FansHasRespMultiError is an error wrapping multiple validation errors returned by FansHasResp.ValidateAll() if the designated constraints aren't met.
func (FansHasRespMultiError) AllErrors ¶
func (m FansHasRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FansHasRespMultiError) Error ¶
func (m FansHasRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FansHasRespValidationError ¶
type FansHasRespValidationError struct {
// contains filtered or unexported fields
}
FansHasRespValidationError is the validation error returned by FansHasResp.Validate if the designated constraints aren't met.
func (FansHasRespValidationError) Cause ¶
func (e FansHasRespValidationError) Cause() error
Cause function returns cause value.
func (FansHasRespValidationError) Error ¶
func (e FansHasRespValidationError) Error() string
Error satisfies the builtin error interface
func (FansHasRespValidationError) ErrorName ¶
func (e FansHasRespValidationError) ErrorName() string
ErrorName returns error name.
func (FansHasRespValidationError) Field ¶
func (e FansHasRespValidationError) Field() string
Field function returns field value.
func (FansHasRespValidationError) Key ¶
func (e FansHasRespValidationError) Key() bool
Key function returns key value.
func (FansHasRespValidationError) Reason ¶
func (e FansHasRespValidationError) Reason() string
Reason function returns reason value.
type FansListReq ¶
type FansListReq struct { UserId int64 `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId"` Page int32 `protobuf:"varint,2,opt,name=Page,proto3" json:"Page"` PageSize int32 `protobuf:"varint,3,opt,name=PageSize,proto3" json:"PageSize"` // contains filtered or unexported fields }
粉丝列表
func (*FansListReq) Descriptor
deprecated
func (*FansListReq) Descriptor() ([]byte, []int)
Deprecated: Use FansListReq.ProtoReflect.Descriptor instead.
func (*FansListReq) GetPage ¶
func (x *FansListReq) GetPage() int32
func (*FansListReq) GetPageSize ¶
func (x *FansListReq) GetPageSize() int32
func (*FansListReq) GetUserId ¶
func (x *FansListReq) GetUserId() int64
func (*FansListReq) ProtoMessage ¶
func (*FansListReq) ProtoMessage()
func (*FansListReq) ProtoReflect ¶
func (x *FansListReq) ProtoReflect() protoreflect.Message
func (*FansListReq) Reset ¶
func (x *FansListReq) Reset()
func (*FansListReq) String ¶
func (x *FansListReq) String() string
func (*FansListReq) Validate ¶
func (m *FansListReq) Validate() error
Validate checks the field values on FansListReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FansListReq) ValidateAll ¶
func (m *FansListReq) ValidateAll() error
ValidateAll checks the field values on FansListReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FansListReqMultiError, or nil if none found.
type FansListReqMultiError ¶
type FansListReqMultiError []error
FansListReqMultiError is an error wrapping multiple validation errors returned by FansListReq.ValidateAll() if the designated constraints aren't met.
func (FansListReqMultiError) AllErrors ¶
func (m FansListReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FansListReqMultiError) Error ¶
func (m FansListReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FansListReqValidationError ¶
type FansListReqValidationError struct {
// contains filtered or unexported fields
}
FansListReqValidationError is the validation error returned by FansListReq.Validate if the designated constraints aren't met.
func (FansListReqValidationError) Cause ¶
func (e FansListReqValidationError) Cause() error
Cause function returns cause value.
func (FansListReqValidationError) Error ¶
func (e FansListReqValidationError) Error() string
Error satisfies the builtin error interface
func (FansListReqValidationError) ErrorName ¶
func (e FansListReqValidationError) ErrorName() string
ErrorName returns error name.
func (FansListReqValidationError) Field ¶
func (e FansListReqValidationError) Field() string
Field function returns field value.
func (FansListReqValidationError) Key ¶
func (e FansListReqValidationError) Key() bool
Key function returns key value.
func (FansListReqValidationError) Reason ¶
func (e FansListReqValidationError) Reason() string
Reason function returns reason value.
type FansListResp ¶
type FansListResp struct { UserInfos []*RelationItem `protobuf:"bytes,1,rep,name=UserInfos,proto3" json:"UserInfos"` Total int64 `protobuf:"varint,2,opt,name=Total,proto3" json:"Total"` Page int32 `protobuf:"varint,3,opt,name=Page,proto3" json:"Page"` PageSize int32 `protobuf:"varint,4,opt,name=PageSize,proto3" json:"PageSize"` // contains filtered or unexported fields }
func (*FansListResp) Descriptor
deprecated
func (*FansListResp) Descriptor() ([]byte, []int)
Deprecated: Use FansListResp.ProtoReflect.Descriptor instead.
func (*FansListResp) GetPage ¶
func (x *FansListResp) GetPage() int32
func (*FansListResp) GetPageSize ¶
func (x *FansListResp) GetPageSize() int32
func (*FansListResp) GetTotal ¶
func (x *FansListResp) GetTotal() int64
func (*FansListResp) GetUserInfos ¶
func (x *FansListResp) GetUserInfos() []*RelationItem
func (*FansListResp) ProtoMessage ¶
func (*FansListResp) ProtoMessage()
func (*FansListResp) ProtoReflect ¶
func (x *FansListResp) ProtoReflect() protoreflect.Message
func (*FansListResp) Reset ¶
func (x *FansListResp) Reset()
func (*FansListResp) String ¶
func (x *FansListResp) String() string
func (*FansListResp) Validate ¶
func (m *FansListResp) Validate() error
Validate checks the field values on FansListResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FansListResp) ValidateAll ¶
func (m *FansListResp) ValidateAll() error
ValidateAll checks the field values on FansListResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FansListRespMultiError, or nil if none found.
type FansListRespMultiError ¶
type FansListRespMultiError []error
FansListRespMultiError is an error wrapping multiple validation errors returned by FansListResp.ValidateAll() if the designated constraints aren't met.
func (FansListRespMultiError) AllErrors ¶
func (m FansListRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FansListRespMultiError) Error ¶
func (m FansListRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FansListRespValidationError ¶
type FansListRespValidationError struct {
// contains filtered or unexported fields
}
FansListRespValidationError is the validation error returned by FansListResp.Validate if the designated constraints aren't met.
func (FansListRespValidationError) Cause ¶
func (e FansListRespValidationError) Cause() error
Cause function returns cause value.
func (FansListRespValidationError) Error ¶
func (e FansListRespValidationError) Error() string
Error satisfies the builtin error interface
func (FansListRespValidationError) ErrorName ¶
func (e FansListRespValidationError) ErrorName() string
ErrorName returns error name.
func (FansListRespValidationError) Field ¶
func (e FansListRespValidationError) Field() string
Field function returns field value.
func (FansListRespValidationError) Key ¶
func (e FansListRespValidationError) Key() bool
Key function returns key value.
func (FansListRespValidationError) Reason ¶
func (e FansListRespValidationError) Reason() string
Reason function returns reason value.
type FansNumReq ¶
type FansNumReq struct { UserId int64 `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId"` // contains filtered or unexported fields }
粉丝数
func (*FansNumReq) Descriptor
deprecated
func (*FansNumReq) Descriptor() ([]byte, []int)
Deprecated: Use FansNumReq.ProtoReflect.Descriptor instead.
func (*FansNumReq) GetUserId ¶
func (x *FansNumReq) GetUserId() int64
func (*FansNumReq) ProtoMessage ¶
func (*FansNumReq) ProtoMessage()
func (*FansNumReq) ProtoReflect ¶
func (x *FansNumReq) ProtoReflect() protoreflect.Message
func (*FansNumReq) Reset ¶
func (x *FansNumReq) Reset()
func (*FansNumReq) String ¶
func (x *FansNumReq) String() string
func (*FansNumReq) Validate ¶
func (m *FansNumReq) Validate() error
Validate checks the field values on FansNumReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FansNumReq) ValidateAll ¶
func (m *FansNumReq) ValidateAll() error
ValidateAll checks the field values on FansNumReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FansNumReqMultiError, or nil if none found.
type FansNumReqMultiError ¶
type FansNumReqMultiError []error
FansNumReqMultiError is an error wrapping multiple validation errors returned by FansNumReq.ValidateAll() if the designated constraints aren't met.
func (FansNumReqMultiError) AllErrors ¶
func (m FansNumReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FansNumReqMultiError) Error ¶
func (m FansNumReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FansNumReqValidationError ¶
type FansNumReqValidationError struct {
// contains filtered or unexported fields
}
FansNumReqValidationError is the validation error returned by FansNumReq.Validate if the designated constraints aren't met.
func (FansNumReqValidationError) Cause ¶
func (e FansNumReqValidationError) Cause() error
Cause function returns cause value.
func (FansNumReqValidationError) Error ¶
func (e FansNumReqValidationError) Error() string
Error satisfies the builtin error interface
func (FansNumReqValidationError) ErrorName ¶
func (e FansNumReqValidationError) ErrorName() string
ErrorName returns error name.
func (FansNumReqValidationError) Field ¶
func (e FansNumReqValidationError) Field() string
Field function returns field value.
func (FansNumReqValidationError) Key ¶
func (e FansNumReqValidationError) Key() bool
Key function returns key value.
func (FansNumReqValidationError) Reason ¶
func (e FansNumReqValidationError) Reason() string
Reason function returns reason value.
type FansNumResp ¶
type FansNumResp struct { Num int64 `protobuf:"varint,1,opt,name=Num,proto3" json:"Num"` // contains filtered or unexported fields }
func (*FansNumResp) Descriptor
deprecated
func (*FansNumResp) Descriptor() ([]byte, []int)
Deprecated: Use FansNumResp.ProtoReflect.Descriptor instead.
func (*FansNumResp) GetNum ¶
func (x *FansNumResp) GetNum() int64
func (*FansNumResp) ProtoMessage ¶
func (*FansNumResp) ProtoMessage()
func (*FansNumResp) ProtoReflect ¶
func (x *FansNumResp) ProtoReflect() protoreflect.Message
func (*FansNumResp) Reset ¶
func (x *FansNumResp) Reset()
func (*FansNumResp) String ¶
func (x *FansNumResp) String() string
func (*FansNumResp) Validate ¶
func (m *FansNumResp) Validate() error
Validate checks the field values on FansNumResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FansNumResp) ValidateAll ¶
func (m *FansNumResp) ValidateAll() error
ValidateAll checks the field values on FansNumResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FansNumRespMultiError, or nil if none found.
type FansNumRespMultiError ¶
type FansNumRespMultiError []error
FansNumRespMultiError is an error wrapping multiple validation errors returned by FansNumResp.ValidateAll() if the designated constraints aren't met.
func (FansNumRespMultiError) AllErrors ¶
func (m FansNumRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FansNumRespMultiError) Error ¶
func (m FansNumRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FansNumRespValidationError ¶
type FansNumRespValidationError struct {
// contains filtered or unexported fields
}
FansNumRespValidationError is the validation error returned by FansNumResp.Validate if the designated constraints aren't met.
func (FansNumRespValidationError) Cause ¶
func (e FansNumRespValidationError) Cause() error
Cause function returns cause value.
func (FansNumRespValidationError) Error ¶
func (e FansNumRespValidationError) Error() string
Error satisfies the builtin error interface
func (FansNumRespValidationError) ErrorName ¶
func (e FansNumRespValidationError) ErrorName() string
ErrorName returns error name.
func (FansNumRespValidationError) Field ¶
func (e FansNumRespValidationError) Field() string
Field function returns field value.
func (FansNumRespValidationError) Key ¶
func (e FansNumRespValidationError) Key() bool
Key function returns key value.
func (FansNumRespValidationError) Reason ¶
func (e FansNumRespValidationError) Reason() string
Reason function returns reason value.
type FollowsAddReq ¶
type FollowsAddReq struct { UserId int64 `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId"` FollowId int64 `protobuf:"varint,2,opt,name=FollowId,proto3" json:"FollowId"` SendChatroomMsg int32 `protobuf:"varint,3,opt,name=SendChatroomMsg,proto3" json:"SendChatroomMsg"` LiveId int64 `protobuf:"varint,4,opt,name=LiveId,proto3" json:"LiveId"` // contains filtered or unexported fields }
关注
func (*FollowsAddReq) Descriptor
deprecated
func (*FollowsAddReq) Descriptor() ([]byte, []int)
Deprecated: Use FollowsAddReq.ProtoReflect.Descriptor instead.
func (*FollowsAddReq) GetFollowId ¶
func (x *FollowsAddReq) GetFollowId() int64
func (*FollowsAddReq) GetLiveId ¶
func (x *FollowsAddReq) GetLiveId() int64
func (*FollowsAddReq) GetSendChatroomMsg ¶
func (x *FollowsAddReq) GetSendChatroomMsg() int32
func (*FollowsAddReq) GetUserId ¶
func (x *FollowsAddReq) GetUserId() int64
func (*FollowsAddReq) ProtoMessage ¶
func (*FollowsAddReq) ProtoMessage()
func (*FollowsAddReq) ProtoReflect ¶
func (x *FollowsAddReq) ProtoReflect() protoreflect.Message
func (*FollowsAddReq) Reset ¶
func (x *FollowsAddReq) Reset()
func (*FollowsAddReq) String ¶
func (x *FollowsAddReq) String() string
func (*FollowsAddReq) Validate ¶
func (m *FollowsAddReq) Validate() error
Validate checks the field values on FollowsAddReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FollowsAddReq) ValidateAll ¶
func (m *FollowsAddReq) ValidateAll() error
ValidateAll checks the field values on FollowsAddReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FollowsAddReqMultiError, or nil if none found.
type FollowsAddReqMultiError ¶
type FollowsAddReqMultiError []error
FollowsAddReqMultiError is an error wrapping multiple validation errors returned by FollowsAddReq.ValidateAll() if the designated constraints aren't met.
func (FollowsAddReqMultiError) AllErrors ¶
func (m FollowsAddReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FollowsAddReqMultiError) Error ¶
func (m FollowsAddReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FollowsAddReqValidationError ¶
type FollowsAddReqValidationError struct {
// contains filtered or unexported fields
}
FollowsAddReqValidationError is the validation error returned by FollowsAddReq.Validate if the designated constraints aren't met.
func (FollowsAddReqValidationError) Cause ¶
func (e FollowsAddReqValidationError) Cause() error
Cause function returns cause value.
func (FollowsAddReqValidationError) Error ¶
func (e FollowsAddReqValidationError) Error() string
Error satisfies the builtin error interface
func (FollowsAddReqValidationError) ErrorName ¶
func (e FollowsAddReqValidationError) ErrorName() string
ErrorName returns error name.
func (FollowsAddReqValidationError) Field ¶
func (e FollowsAddReqValidationError) Field() string
Field function returns field value.
func (FollowsAddReqValidationError) Key ¶
func (e FollowsAddReqValidationError) Key() bool
Key function returns key value.
func (FollowsAddReqValidationError) Reason ¶
func (e FollowsAddReqValidationError) Reason() string
Reason function returns reason value.
type FollowsDelReq ¶
type FollowsDelReq struct { UserId int64 `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId"` FollowId int64 `protobuf:"varint,2,opt,name=FollowId,proto3" json:"FollowId"` // contains filtered or unexported fields }
取消关注
func (*FollowsDelReq) Descriptor
deprecated
func (*FollowsDelReq) Descriptor() ([]byte, []int)
Deprecated: Use FollowsDelReq.ProtoReflect.Descriptor instead.
func (*FollowsDelReq) GetFollowId ¶
func (x *FollowsDelReq) GetFollowId() int64
func (*FollowsDelReq) GetUserId ¶
func (x *FollowsDelReq) GetUserId() int64
func (*FollowsDelReq) ProtoMessage ¶
func (*FollowsDelReq) ProtoMessage()
func (*FollowsDelReq) ProtoReflect ¶
func (x *FollowsDelReq) ProtoReflect() protoreflect.Message
func (*FollowsDelReq) Reset ¶
func (x *FollowsDelReq) Reset()
func (*FollowsDelReq) String ¶
func (x *FollowsDelReq) String() string
func (*FollowsDelReq) Validate ¶
func (m *FollowsDelReq) Validate() error
Validate checks the field values on FollowsDelReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FollowsDelReq) ValidateAll ¶
func (m *FollowsDelReq) ValidateAll() error
ValidateAll checks the field values on FollowsDelReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FollowsDelReqMultiError, or nil if none found.
type FollowsDelReqMultiError ¶
type FollowsDelReqMultiError []error
FollowsDelReqMultiError is an error wrapping multiple validation errors returned by FollowsDelReq.ValidateAll() if the designated constraints aren't met.
func (FollowsDelReqMultiError) AllErrors ¶
func (m FollowsDelReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FollowsDelReqMultiError) Error ¶
func (m FollowsDelReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FollowsDelReqValidationError ¶
type FollowsDelReqValidationError struct {
// contains filtered or unexported fields
}
FollowsDelReqValidationError is the validation error returned by FollowsDelReq.Validate if the designated constraints aren't met.
func (FollowsDelReqValidationError) Cause ¶
func (e FollowsDelReqValidationError) Cause() error
Cause function returns cause value.
func (FollowsDelReqValidationError) Error ¶
func (e FollowsDelReqValidationError) Error() string
Error satisfies the builtin error interface
func (FollowsDelReqValidationError) ErrorName ¶
func (e FollowsDelReqValidationError) ErrorName() string
ErrorName returns error name.
func (FollowsDelReqValidationError) Field ¶
func (e FollowsDelReqValidationError) Field() string
Field function returns field value.
func (FollowsDelReqValidationError) Key ¶
func (e FollowsDelReqValidationError) Key() bool
Key function returns key value.
func (FollowsDelReqValidationError) Reason ¶
func (e FollowsDelReqValidationError) Reason() string
Reason function returns reason value.
type FollowsHasReq ¶
type FollowsHasReq struct { UserId int64 `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId"` FollowId int64 `protobuf:"varint,2,opt,name=FollowId,proto3" json:"FollowId"` // contains filtered or unexported fields }
是否关注
func (*FollowsHasReq) Descriptor
deprecated
func (*FollowsHasReq) Descriptor() ([]byte, []int)
Deprecated: Use FollowsHasReq.ProtoReflect.Descriptor instead.
func (*FollowsHasReq) GetFollowId ¶
func (x *FollowsHasReq) GetFollowId() int64
func (*FollowsHasReq) GetUserId ¶
func (x *FollowsHasReq) GetUserId() int64
func (*FollowsHasReq) ProtoMessage ¶
func (*FollowsHasReq) ProtoMessage()
func (*FollowsHasReq) ProtoReflect ¶
func (x *FollowsHasReq) ProtoReflect() protoreflect.Message
func (*FollowsHasReq) Reset ¶
func (x *FollowsHasReq) Reset()
func (*FollowsHasReq) String ¶
func (x *FollowsHasReq) String() string
func (*FollowsHasReq) Validate ¶
func (m *FollowsHasReq) Validate() error
Validate checks the field values on FollowsHasReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FollowsHasReq) ValidateAll ¶
func (m *FollowsHasReq) ValidateAll() error
ValidateAll checks the field values on FollowsHasReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FollowsHasReqMultiError, or nil if none found.
type FollowsHasReqMultiError ¶
type FollowsHasReqMultiError []error
FollowsHasReqMultiError is an error wrapping multiple validation errors returned by FollowsHasReq.ValidateAll() if the designated constraints aren't met.
func (FollowsHasReqMultiError) AllErrors ¶
func (m FollowsHasReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FollowsHasReqMultiError) Error ¶
func (m FollowsHasReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FollowsHasReqValidationError ¶
type FollowsHasReqValidationError struct {
// contains filtered or unexported fields
}
FollowsHasReqValidationError is the validation error returned by FollowsHasReq.Validate if the designated constraints aren't met.
func (FollowsHasReqValidationError) Cause ¶
func (e FollowsHasReqValidationError) Cause() error
Cause function returns cause value.
func (FollowsHasReqValidationError) Error ¶
func (e FollowsHasReqValidationError) Error() string
Error satisfies the builtin error interface
func (FollowsHasReqValidationError) ErrorName ¶
func (e FollowsHasReqValidationError) ErrorName() string
ErrorName returns error name.
func (FollowsHasReqValidationError) Field ¶
func (e FollowsHasReqValidationError) Field() string
Field function returns field value.
func (FollowsHasReqValidationError) Key ¶
func (e FollowsHasReqValidationError) Key() bool
Key function returns key value.
func (FollowsHasReqValidationError) Reason ¶
func (e FollowsHasReqValidationError) Reason() string
Reason function returns reason value.
type FollowsHasResp ¶
type FollowsHasResp struct { Result bool `protobuf:"varint,1,opt,name=Result,proto3" json:"Result"` // contains filtered or unexported fields }
func (*FollowsHasResp) Descriptor
deprecated
func (*FollowsHasResp) Descriptor() ([]byte, []int)
Deprecated: Use FollowsHasResp.ProtoReflect.Descriptor instead.
func (*FollowsHasResp) GetResult ¶
func (x *FollowsHasResp) GetResult() bool
func (*FollowsHasResp) ProtoMessage ¶
func (*FollowsHasResp) ProtoMessage()
func (*FollowsHasResp) ProtoReflect ¶
func (x *FollowsHasResp) ProtoReflect() protoreflect.Message
func (*FollowsHasResp) Reset ¶
func (x *FollowsHasResp) Reset()
func (*FollowsHasResp) String ¶
func (x *FollowsHasResp) String() string
func (*FollowsHasResp) Validate ¶
func (m *FollowsHasResp) Validate() error
Validate checks the field values on FollowsHasResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FollowsHasResp) ValidateAll ¶
func (m *FollowsHasResp) ValidateAll() error
ValidateAll checks the field values on FollowsHasResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FollowsHasRespMultiError, or nil if none found.
type FollowsHasRespMultiError ¶
type FollowsHasRespMultiError []error
FollowsHasRespMultiError is an error wrapping multiple validation errors returned by FollowsHasResp.ValidateAll() if the designated constraints aren't met.
func (FollowsHasRespMultiError) AllErrors ¶
func (m FollowsHasRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FollowsHasRespMultiError) Error ¶
func (m FollowsHasRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FollowsHasRespValidationError ¶
type FollowsHasRespValidationError struct {
// contains filtered or unexported fields
}
FollowsHasRespValidationError is the validation error returned by FollowsHasResp.Validate if the designated constraints aren't met.
func (FollowsHasRespValidationError) Cause ¶
func (e FollowsHasRespValidationError) Cause() error
Cause function returns cause value.
func (FollowsHasRespValidationError) Error ¶
func (e FollowsHasRespValidationError) Error() string
Error satisfies the builtin error interface
func (FollowsHasRespValidationError) ErrorName ¶
func (e FollowsHasRespValidationError) ErrorName() string
ErrorName returns error name.
func (FollowsHasRespValidationError) Field ¶
func (e FollowsHasRespValidationError) Field() string
Field function returns field value.
func (FollowsHasRespValidationError) Key ¶
func (e FollowsHasRespValidationError) Key() bool
Key function returns key value.
func (FollowsHasRespValidationError) Reason ¶
func (e FollowsHasRespValidationError) Reason() string
Reason function returns reason value.
type FollowsListReq ¶
type FollowsListReq struct { UserId int64 `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId"` Page int32 `protobuf:"varint,2,opt,name=Page,proto3" json:"Page"` PageSize int32 `protobuf:"varint,3,opt,name=PageSize,proto3" json:"PageSize"` // contains filtered or unexported fields }
关注列表
func (*FollowsListReq) Descriptor
deprecated
func (*FollowsListReq) Descriptor() ([]byte, []int)
Deprecated: Use FollowsListReq.ProtoReflect.Descriptor instead.
func (*FollowsListReq) GetPage ¶
func (x *FollowsListReq) GetPage() int32
func (*FollowsListReq) GetPageSize ¶
func (x *FollowsListReq) GetPageSize() int32
func (*FollowsListReq) GetUserId ¶
func (x *FollowsListReq) GetUserId() int64
func (*FollowsListReq) ProtoMessage ¶
func (*FollowsListReq) ProtoMessage()
func (*FollowsListReq) ProtoReflect ¶
func (x *FollowsListReq) ProtoReflect() protoreflect.Message
func (*FollowsListReq) Reset ¶
func (x *FollowsListReq) Reset()
func (*FollowsListReq) String ¶
func (x *FollowsListReq) String() string
func (*FollowsListReq) Validate ¶
func (m *FollowsListReq) Validate() error
Validate checks the field values on FollowsListReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FollowsListReq) ValidateAll ¶
func (m *FollowsListReq) ValidateAll() error
ValidateAll checks the field values on FollowsListReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FollowsListReqMultiError, or nil if none found.
type FollowsListReqMultiError ¶
type FollowsListReqMultiError []error
FollowsListReqMultiError is an error wrapping multiple validation errors returned by FollowsListReq.ValidateAll() if the designated constraints aren't met.
func (FollowsListReqMultiError) AllErrors ¶
func (m FollowsListReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FollowsListReqMultiError) Error ¶
func (m FollowsListReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FollowsListReqValidationError ¶
type FollowsListReqValidationError struct {
// contains filtered or unexported fields
}
FollowsListReqValidationError is the validation error returned by FollowsListReq.Validate if the designated constraints aren't met.
func (FollowsListReqValidationError) Cause ¶
func (e FollowsListReqValidationError) Cause() error
Cause function returns cause value.
func (FollowsListReqValidationError) Error ¶
func (e FollowsListReqValidationError) Error() string
Error satisfies the builtin error interface
func (FollowsListReqValidationError) ErrorName ¶
func (e FollowsListReqValidationError) ErrorName() string
ErrorName returns error name.
func (FollowsListReqValidationError) Field ¶
func (e FollowsListReqValidationError) Field() string
Field function returns field value.
func (FollowsListReqValidationError) Key ¶
func (e FollowsListReqValidationError) Key() bool
Key function returns key value.
func (FollowsListReqValidationError) Reason ¶
func (e FollowsListReqValidationError) Reason() string
Reason function returns reason value.
type FollowsListResp ¶
type FollowsListResp struct { UserInfos []*RelationItem `protobuf:"bytes,1,rep,name=UserInfos,proto3" json:"UserInfos"` Total int64 `protobuf:"varint,2,opt,name=Total,proto3" json:"Total"` Page int32 `protobuf:"varint,3,opt,name=Page,proto3" json:"Page"` PageSize int32 `protobuf:"varint,4,opt,name=PageSize,proto3" json:"PageSize"` // contains filtered or unexported fields }
关注列表
func (*FollowsListResp) Descriptor
deprecated
func (*FollowsListResp) Descriptor() ([]byte, []int)
Deprecated: Use FollowsListResp.ProtoReflect.Descriptor instead.
func (*FollowsListResp) GetPage ¶
func (x *FollowsListResp) GetPage() int32
func (*FollowsListResp) GetPageSize ¶
func (x *FollowsListResp) GetPageSize() int32
func (*FollowsListResp) GetTotal ¶
func (x *FollowsListResp) GetTotal() int64
func (*FollowsListResp) GetUserInfos ¶
func (x *FollowsListResp) GetUserInfos() []*RelationItem
func (*FollowsListResp) ProtoMessage ¶
func (*FollowsListResp) ProtoMessage()
func (*FollowsListResp) ProtoReflect ¶
func (x *FollowsListResp) ProtoReflect() protoreflect.Message
func (*FollowsListResp) Reset ¶
func (x *FollowsListResp) Reset()
func (*FollowsListResp) String ¶
func (x *FollowsListResp) String() string
func (*FollowsListResp) Validate ¶
func (m *FollowsListResp) Validate() error
Validate checks the field values on FollowsListResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FollowsListResp) ValidateAll ¶
func (m *FollowsListResp) ValidateAll() error
ValidateAll checks the field values on FollowsListResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FollowsListRespMultiError, or nil if none found.
type FollowsListRespMultiError ¶
type FollowsListRespMultiError []error
FollowsListRespMultiError is an error wrapping multiple validation errors returned by FollowsListResp.ValidateAll() if the designated constraints aren't met.
func (FollowsListRespMultiError) AllErrors ¶
func (m FollowsListRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FollowsListRespMultiError) Error ¶
func (m FollowsListRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FollowsListRespValidationError ¶
type FollowsListRespValidationError struct {
// contains filtered or unexported fields
}
FollowsListRespValidationError is the validation error returned by FollowsListResp.Validate if the designated constraints aren't met.
func (FollowsListRespValidationError) Cause ¶
func (e FollowsListRespValidationError) Cause() error
Cause function returns cause value.
func (FollowsListRespValidationError) Error ¶
func (e FollowsListRespValidationError) Error() string
Error satisfies the builtin error interface
func (FollowsListRespValidationError) ErrorName ¶
func (e FollowsListRespValidationError) ErrorName() string
ErrorName returns error name.
func (FollowsListRespValidationError) Field ¶
func (e FollowsListRespValidationError) Field() string
Field function returns field value.
func (FollowsListRespValidationError) Key ¶
func (e FollowsListRespValidationError) Key() bool
Key function returns key value.
func (FollowsListRespValidationError) Reason ¶
func (e FollowsListRespValidationError) Reason() string
Reason function returns reason value.
type FollowsNumReq ¶
type FollowsNumReq struct { UserId int64 `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId"` // contains filtered or unexported fields }
关注数
func (*FollowsNumReq) Descriptor
deprecated
func (*FollowsNumReq) Descriptor() ([]byte, []int)
Deprecated: Use FollowsNumReq.ProtoReflect.Descriptor instead.
func (*FollowsNumReq) GetUserId ¶
func (x *FollowsNumReq) GetUserId() int64
func (*FollowsNumReq) ProtoMessage ¶
func (*FollowsNumReq) ProtoMessage()
func (*FollowsNumReq) ProtoReflect ¶
func (x *FollowsNumReq) ProtoReflect() protoreflect.Message
func (*FollowsNumReq) Reset ¶
func (x *FollowsNumReq) Reset()
func (*FollowsNumReq) String ¶
func (x *FollowsNumReq) String() string
func (*FollowsNumReq) Validate ¶
func (m *FollowsNumReq) Validate() error
Validate checks the field values on FollowsNumReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FollowsNumReq) ValidateAll ¶
func (m *FollowsNumReq) ValidateAll() error
ValidateAll checks the field values on FollowsNumReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FollowsNumReqMultiError, or nil if none found.
type FollowsNumReqMultiError ¶
type FollowsNumReqMultiError []error
FollowsNumReqMultiError is an error wrapping multiple validation errors returned by FollowsNumReq.ValidateAll() if the designated constraints aren't met.
func (FollowsNumReqMultiError) AllErrors ¶
func (m FollowsNumReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FollowsNumReqMultiError) Error ¶
func (m FollowsNumReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FollowsNumReqValidationError ¶
type FollowsNumReqValidationError struct {
// contains filtered or unexported fields
}
FollowsNumReqValidationError is the validation error returned by FollowsNumReq.Validate if the designated constraints aren't met.
func (FollowsNumReqValidationError) Cause ¶
func (e FollowsNumReqValidationError) Cause() error
Cause function returns cause value.
func (FollowsNumReqValidationError) Error ¶
func (e FollowsNumReqValidationError) Error() string
Error satisfies the builtin error interface
func (FollowsNumReqValidationError) ErrorName ¶
func (e FollowsNumReqValidationError) ErrorName() string
ErrorName returns error name.
func (FollowsNumReqValidationError) Field ¶
func (e FollowsNumReqValidationError) Field() string
Field function returns field value.
func (FollowsNumReqValidationError) Key ¶
func (e FollowsNumReqValidationError) Key() bool
Key function returns key value.
func (FollowsNumReqValidationError) Reason ¶
func (e FollowsNumReqValidationError) Reason() string
Reason function returns reason value.
type FollowsNumResp ¶
type FollowsNumResp struct { Num int64 `protobuf:"varint,1,opt,name=Num,proto3" json:"Num"` // contains filtered or unexported fields }
func (*FollowsNumResp) Descriptor
deprecated
func (*FollowsNumResp) Descriptor() ([]byte, []int)
Deprecated: Use FollowsNumResp.ProtoReflect.Descriptor instead.
func (*FollowsNumResp) GetNum ¶
func (x *FollowsNumResp) GetNum() int64
func (*FollowsNumResp) ProtoMessage ¶
func (*FollowsNumResp) ProtoMessage()
func (*FollowsNumResp) ProtoReflect ¶
func (x *FollowsNumResp) ProtoReflect() protoreflect.Message
func (*FollowsNumResp) Reset ¶
func (x *FollowsNumResp) Reset()
func (*FollowsNumResp) String ¶
func (x *FollowsNumResp) String() string
func (*FollowsNumResp) Validate ¶
func (m *FollowsNumResp) Validate() error
Validate checks the field values on FollowsNumResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FollowsNumResp) ValidateAll ¶
func (m *FollowsNumResp) ValidateAll() error
ValidateAll checks the field values on FollowsNumResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FollowsNumRespMultiError, or nil if none found.
type FollowsNumRespMultiError ¶
type FollowsNumRespMultiError []error
FollowsNumRespMultiError is an error wrapping multiple validation errors returned by FollowsNumResp.ValidateAll() if the designated constraints aren't met.
func (FollowsNumRespMultiError) AllErrors ¶
func (m FollowsNumRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FollowsNumRespMultiError) Error ¶
func (m FollowsNumRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FollowsNumRespValidationError ¶
type FollowsNumRespValidationError struct {
// contains filtered or unexported fields
}
FollowsNumRespValidationError is the validation error returned by FollowsNumResp.Validate if the designated constraints aren't met.
func (FollowsNumRespValidationError) Cause ¶
func (e FollowsNumRespValidationError) Cause() error
Cause function returns cause value.
func (FollowsNumRespValidationError) Error ¶
func (e FollowsNumRespValidationError) Error() string
Error satisfies the builtin error interface
func (FollowsNumRespValidationError) ErrorName ¶
func (e FollowsNumRespValidationError) ErrorName() string
ErrorName returns error name.
func (FollowsNumRespValidationError) Field ¶
func (e FollowsNumRespValidationError) Field() string
Field function returns field value.
func (FollowsNumRespValidationError) Key ¶
func (e FollowsNumRespValidationError) Key() bool
Key function returns key value.
func (FollowsNumRespValidationError) Reason ¶
func (e FollowsNumRespValidationError) Reason() string
Reason function returns reason value.
type FriendsListReq ¶
type FriendsListReq struct { UserId int64 `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId"` Page int32 `protobuf:"varint,2,opt,name=Page,proto3" json:"Page"` PageSize int32 `protobuf:"varint,3,opt,name=PageSize,proto3" json:"PageSize"` // contains filtered or unexported fields }
好友列表
func (*FriendsListReq) Descriptor
deprecated
func (*FriendsListReq) Descriptor() ([]byte, []int)
Deprecated: Use FriendsListReq.ProtoReflect.Descriptor instead.
func (*FriendsListReq) GetPage ¶
func (x *FriendsListReq) GetPage() int32
func (*FriendsListReq) GetPageSize ¶
func (x *FriendsListReq) GetPageSize() int32
func (*FriendsListReq) GetUserId ¶
func (x *FriendsListReq) GetUserId() int64
func (*FriendsListReq) ProtoMessage ¶
func (*FriendsListReq) ProtoMessage()
func (*FriendsListReq) ProtoReflect ¶
func (x *FriendsListReq) ProtoReflect() protoreflect.Message
func (*FriendsListReq) Reset ¶
func (x *FriendsListReq) Reset()
func (*FriendsListReq) String ¶
func (x *FriendsListReq) String() string
func (*FriendsListReq) Validate ¶
func (m *FriendsListReq) Validate() error
Validate checks the field values on FriendsListReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FriendsListReq) ValidateAll ¶
func (m *FriendsListReq) ValidateAll() error
ValidateAll checks the field values on FriendsListReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FriendsListReqMultiError, or nil if none found.
type FriendsListReqMultiError ¶
type FriendsListReqMultiError []error
FriendsListReqMultiError is an error wrapping multiple validation errors returned by FriendsListReq.ValidateAll() if the designated constraints aren't met.
func (FriendsListReqMultiError) AllErrors ¶
func (m FriendsListReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FriendsListReqMultiError) Error ¶
func (m FriendsListReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FriendsListReqValidationError ¶
type FriendsListReqValidationError struct {
// contains filtered or unexported fields
}
FriendsListReqValidationError is the validation error returned by FriendsListReq.Validate if the designated constraints aren't met.
func (FriendsListReqValidationError) Cause ¶
func (e FriendsListReqValidationError) Cause() error
Cause function returns cause value.
func (FriendsListReqValidationError) Error ¶
func (e FriendsListReqValidationError) Error() string
Error satisfies the builtin error interface
func (FriendsListReqValidationError) ErrorName ¶
func (e FriendsListReqValidationError) ErrorName() string
ErrorName returns error name.
func (FriendsListReqValidationError) Field ¶
func (e FriendsListReqValidationError) Field() string
Field function returns field value.
func (FriendsListReqValidationError) Key ¶
func (e FriendsListReqValidationError) Key() bool
Key function returns key value.
func (FriendsListReqValidationError) Reason ¶
func (e FriendsListReqValidationError) Reason() string
Reason function returns reason value.
type FriendsListResp ¶
type FriendsListResp struct { UserInfos []*RelationItem `protobuf:"bytes,1,rep,name=UserInfos,proto3" json:"UserInfos"` Total int64 `protobuf:"varint,2,opt,name=Total,proto3" json:"Total"` Page int32 `protobuf:"varint,3,opt,name=Page,proto3" json:"Page"` PageSize int32 `protobuf:"varint,4,opt,name=PageSize,proto3" json:"PageSize"` // contains filtered or unexported fields }
func (*FriendsListResp) Descriptor
deprecated
func (*FriendsListResp) Descriptor() ([]byte, []int)
Deprecated: Use FriendsListResp.ProtoReflect.Descriptor instead.
func (*FriendsListResp) GetPage ¶
func (x *FriendsListResp) GetPage() int32
func (*FriendsListResp) GetPageSize ¶
func (x *FriendsListResp) GetPageSize() int32
func (*FriendsListResp) GetTotal ¶
func (x *FriendsListResp) GetTotal() int64
func (*FriendsListResp) GetUserInfos ¶
func (x *FriendsListResp) GetUserInfos() []*RelationItem
func (*FriendsListResp) ProtoMessage ¶
func (*FriendsListResp) ProtoMessage()
func (*FriendsListResp) ProtoReflect ¶
func (x *FriendsListResp) ProtoReflect() protoreflect.Message
func (*FriendsListResp) Reset ¶
func (x *FriendsListResp) Reset()
func (*FriendsListResp) String ¶
func (x *FriendsListResp) String() string
func (*FriendsListResp) Validate ¶
func (m *FriendsListResp) Validate() error
Validate checks the field values on FriendsListResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FriendsListResp) ValidateAll ¶
func (m *FriendsListResp) ValidateAll() error
ValidateAll checks the field values on FriendsListResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FriendsListRespMultiError, or nil if none found.
type FriendsListRespMultiError ¶
type FriendsListRespMultiError []error
FriendsListRespMultiError is an error wrapping multiple validation errors returned by FriendsListResp.ValidateAll() if the designated constraints aren't met.
func (FriendsListRespMultiError) AllErrors ¶
func (m FriendsListRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FriendsListRespMultiError) Error ¶
func (m FriendsListRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FriendsListRespValidationError ¶
type FriendsListRespValidationError struct {
// contains filtered or unexported fields
}
FriendsListRespValidationError is the validation error returned by FriendsListResp.Validate if the designated constraints aren't met.
func (FriendsListRespValidationError) Cause ¶
func (e FriendsListRespValidationError) Cause() error
Cause function returns cause value.
func (FriendsListRespValidationError) Error ¶
func (e FriendsListRespValidationError) Error() string
Error satisfies the builtin error interface
func (FriendsListRespValidationError) ErrorName ¶
func (e FriendsListRespValidationError) ErrorName() string
ErrorName returns error name.
func (FriendsListRespValidationError) Field ¶
func (e FriendsListRespValidationError) Field() string
Field function returns field value.
func (FriendsListRespValidationError) Key ¶
func (e FriendsListRespValidationError) Key() bool
Key function returns key value.
func (FriendsListRespValidationError) Reason ¶
func (e FriendsListRespValidationError) Reason() string
Reason function returns reason value.
type FriendsNumReq ¶
type FriendsNumReq struct { UserId int64 `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId"` // contains filtered or unexported fields }
好有数
func (*FriendsNumReq) Descriptor
deprecated
func (*FriendsNumReq) Descriptor() ([]byte, []int)
Deprecated: Use FriendsNumReq.ProtoReflect.Descriptor instead.
func (*FriendsNumReq) GetUserId ¶
func (x *FriendsNumReq) GetUserId() int64
func (*FriendsNumReq) ProtoMessage ¶
func (*FriendsNumReq) ProtoMessage()
func (*FriendsNumReq) ProtoReflect ¶
func (x *FriendsNumReq) ProtoReflect() protoreflect.Message
func (*FriendsNumReq) Reset ¶
func (x *FriendsNumReq) Reset()
func (*FriendsNumReq) String ¶
func (x *FriendsNumReq) String() string
func (*FriendsNumReq) Validate ¶
func (m *FriendsNumReq) Validate() error
Validate checks the field values on FriendsNumReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FriendsNumReq) ValidateAll ¶
func (m *FriendsNumReq) ValidateAll() error
ValidateAll checks the field values on FriendsNumReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FriendsNumReqMultiError, or nil if none found.
type FriendsNumReqMultiError ¶
type FriendsNumReqMultiError []error
FriendsNumReqMultiError is an error wrapping multiple validation errors returned by FriendsNumReq.ValidateAll() if the designated constraints aren't met.
func (FriendsNumReqMultiError) AllErrors ¶
func (m FriendsNumReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FriendsNumReqMultiError) Error ¶
func (m FriendsNumReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FriendsNumReqValidationError ¶
type FriendsNumReqValidationError struct {
// contains filtered or unexported fields
}
FriendsNumReqValidationError is the validation error returned by FriendsNumReq.Validate if the designated constraints aren't met.
func (FriendsNumReqValidationError) Cause ¶
func (e FriendsNumReqValidationError) Cause() error
Cause function returns cause value.
func (FriendsNumReqValidationError) Error ¶
func (e FriendsNumReqValidationError) Error() string
Error satisfies the builtin error interface
func (FriendsNumReqValidationError) ErrorName ¶
func (e FriendsNumReqValidationError) ErrorName() string
ErrorName returns error name.
func (FriendsNumReqValidationError) Field ¶
func (e FriendsNumReqValidationError) Field() string
Field function returns field value.
func (FriendsNumReqValidationError) Key ¶
func (e FriendsNumReqValidationError) Key() bool
Key function returns key value.
func (FriendsNumReqValidationError) Reason ¶
func (e FriendsNumReqValidationError) Reason() string
Reason function returns reason value.
type FriendsNumResp ¶
type FriendsNumResp struct { Num int64 `protobuf:"varint,1,opt,name=Num,proto3" json:"Num"` // contains filtered or unexported fields }
func (*FriendsNumResp) Descriptor
deprecated
func (*FriendsNumResp) Descriptor() ([]byte, []int)
Deprecated: Use FriendsNumResp.ProtoReflect.Descriptor instead.
func (*FriendsNumResp) GetNum ¶
func (x *FriendsNumResp) GetNum() int64
func (*FriendsNumResp) ProtoMessage ¶
func (*FriendsNumResp) ProtoMessage()
func (*FriendsNumResp) ProtoReflect ¶
func (x *FriendsNumResp) ProtoReflect() protoreflect.Message
func (*FriendsNumResp) Reset ¶
func (x *FriendsNumResp) Reset()
func (*FriendsNumResp) String ¶
func (x *FriendsNumResp) String() string
func (*FriendsNumResp) Validate ¶
func (m *FriendsNumResp) Validate() error
Validate checks the field values on FriendsNumResp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*FriendsNumResp) ValidateAll ¶
func (m *FriendsNumResp) ValidateAll() error
ValidateAll checks the field values on FriendsNumResp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FriendsNumRespMultiError, or nil if none found.
type FriendsNumRespMultiError ¶
type FriendsNumRespMultiError []error
FriendsNumRespMultiError is an error wrapping multiple validation errors returned by FriendsNumResp.ValidateAll() if the designated constraints aren't met.
func (FriendsNumRespMultiError) AllErrors ¶
func (m FriendsNumRespMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FriendsNumRespMultiError) Error ¶
func (m FriendsNumRespMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FriendsNumRespValidationError ¶
type FriendsNumRespValidationError struct {
// contains filtered or unexported fields
}
FriendsNumRespValidationError is the validation error returned by FriendsNumResp.Validate if the designated constraints aren't met.
func (FriendsNumRespValidationError) Cause ¶
func (e FriendsNumRespValidationError) Cause() error
Cause function returns cause value.
func (FriendsNumRespValidationError) Error ¶
func (e FriendsNumRespValidationError) Error() string
Error satisfies the builtin error interface
func (FriendsNumRespValidationError) ErrorName ¶
func (e FriendsNumRespValidationError) ErrorName() string
ErrorName returns error name.
func (FriendsNumRespValidationError) Field ¶
func (e FriendsNumRespValidationError) Field() string
Field function returns field value.
func (FriendsNumRespValidationError) Key ¶
func (e FriendsNumRespValidationError) Key() bool
Key function returns key value.
func (FriendsNumRespValidationError) Reason ¶
func (e FriendsNumRespValidationError) Reason() string
Reason function returns reason value.
type RelationHandler ¶
type RelationHandler interface { // 关注列表 FollowsList(context.Context, *FollowsListReq, *FollowsListResp) error // 粉丝列表 FansList(context.Context, *FansListReq, *FansListResp) error // 好友列表 FriendsList(context.Context, *FriendsListReq, *FriendsListResp) error // 添加关注 FollowsAdd(context.Context, *FollowsAddReq, *emptypb.Empty) error // 取消关注 FollowsDel(context.Context, *FollowsDelReq, *emptypb.Empty) error // 是否关注 FollowsHas(context.Context, *FollowsHasReq, *FollowsHasResp) error // 是否是粉丝 FansHas(context.Context, *FansHasReq, *FollowsHasResp) error // 批量查询是否关注 BatchFollowsHas(context.Context, *BatchFollowsHasReq, *BatchFollowsHasResp) error // 某个人的关注人数 FollowsNum(context.Context, *FollowsNumReq, *FollowsNumResp) error // 某个人的粉丝数 FansNum(context.Context, *FansNumReq, *FansNumResp) error // 某个人的粉丝数 FriendsNum(context.Context, *FriendsNumReq, *FriendsNumResp) error // 批量关注人数 BatchFollowNum(context.Context, *BatchFollowsNumReq, *FollowsNumResp) error // 某个人的粉丝数 BatchFansNum(context.Context, *FansNumReq, *FansNumResp) error // 某个人的某个时间新增粉丝数 AtTimeNewFans(context.Context, *AtTimeNewFansReq, *wrapperspb.Int32Value) error // 解散与多个用户的关系 RemoveRelations(context.Context, *RemoveRelationsReq, *emptypb.Empty) error }
type RelationItem ¶
type RelationItem struct { CreateTime string `protobuf:"bytes,1,opt,name=CreateTime,proto3" json:"CreateTime"` UserId int64 `protobuf:"varint,2,opt,name=UserId,proto3" json:"UserId"` // contains filtered or unexported fields }
func (*RelationItem) Descriptor
deprecated
func (*RelationItem) Descriptor() ([]byte, []int)
Deprecated: Use RelationItem.ProtoReflect.Descriptor instead.
func (*RelationItem) GetCreateTime ¶
func (x *RelationItem) GetCreateTime() string
func (*RelationItem) GetUserId ¶
func (x *RelationItem) GetUserId() int64
func (*RelationItem) ProtoMessage ¶
func (*RelationItem) ProtoMessage()
func (*RelationItem) ProtoReflect ¶
func (x *RelationItem) ProtoReflect() protoreflect.Message
func (*RelationItem) Reset ¶
func (x *RelationItem) Reset()
func (*RelationItem) String ¶
func (x *RelationItem) String() string
func (*RelationItem) Validate ¶
func (m *RelationItem) Validate() error
Validate checks the field values on RelationItem with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RelationItem) ValidateAll ¶
func (m *RelationItem) ValidateAll() error
ValidateAll checks the field values on RelationItem with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RelationItemMultiError, or nil if none found.
type RelationItemMultiError ¶
type RelationItemMultiError []error
RelationItemMultiError is an error wrapping multiple validation errors returned by RelationItem.ValidateAll() if the designated constraints aren't met.
func (RelationItemMultiError) AllErrors ¶
func (m RelationItemMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RelationItemMultiError) Error ¶
func (m RelationItemMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RelationItemValidationError ¶
type RelationItemValidationError struct {
// contains filtered or unexported fields
}
RelationItemValidationError is the validation error returned by RelationItem.Validate if the designated constraints aren't met.
func (RelationItemValidationError) Cause ¶
func (e RelationItemValidationError) Cause() error
Cause function returns cause value.
func (RelationItemValidationError) Error ¶
func (e RelationItemValidationError) Error() string
Error satisfies the builtin error interface
func (RelationItemValidationError) ErrorName ¶
func (e RelationItemValidationError) ErrorName() string
ErrorName returns error name.
func (RelationItemValidationError) Field ¶
func (e RelationItemValidationError) Field() string
Field function returns field value.
func (RelationItemValidationError) Key ¶
func (e RelationItemValidationError) Key() bool
Key function returns key value.
func (RelationItemValidationError) Reason ¶
func (e RelationItemValidationError) Reason() string
Reason function returns reason value.
type RelationService ¶
type RelationService interface { // 关注列表 FollowsList(ctx context.Context, in *FollowsListReq, opts ...client.CallOption) (*FollowsListResp, error) // 粉丝列表 FansList(ctx context.Context, in *FansListReq, opts ...client.CallOption) (*FansListResp, error) // 好友列表 FriendsList(ctx context.Context, in *FriendsListReq, opts ...client.CallOption) (*FriendsListResp, error) // 添加关注 FollowsAdd(ctx context.Context, in *FollowsAddReq, opts ...client.CallOption) (*emptypb.Empty, error) // 取消关注 FollowsDel(ctx context.Context, in *FollowsDelReq, opts ...client.CallOption) (*emptypb.Empty, error) // 是否关注 FollowsHas(ctx context.Context, in *FollowsHasReq, opts ...client.CallOption) (*FollowsHasResp, error) // 是否是粉丝 FansHas(ctx context.Context, in *FansHasReq, opts ...client.CallOption) (*FollowsHasResp, error) // 批量查询是否关注 BatchFollowsHas(ctx context.Context, in *BatchFollowsHasReq, opts ...client.CallOption) (*BatchFollowsHasResp, error) // 某个人的关注人数 FollowsNum(ctx context.Context, in *FollowsNumReq, opts ...client.CallOption) (*FollowsNumResp, error) // 某个人的粉丝数 FansNum(ctx context.Context, in *FansNumReq, opts ...client.CallOption) (*FansNumResp, error) // 某个人的粉丝数 FriendsNum(ctx context.Context, in *FriendsNumReq, opts ...client.CallOption) (*FriendsNumResp, error) // 批量关注人数 BatchFollowNum(ctx context.Context, in *BatchFollowsNumReq, opts ...client.CallOption) (*FollowsNumResp, error) // 某个人的粉丝数 BatchFansNum(ctx context.Context, in *FansNumReq, opts ...client.CallOption) (*FansNumResp, error) // 某个人的某个时间新增粉丝数 AtTimeNewFans(ctx context.Context, in *AtTimeNewFansReq, opts ...client.CallOption) (*wrapperspb.Int32Value, error) // 解散与多个用户的关系 RemoveRelations(ctx context.Context, in *RemoveRelationsReq, opts ...client.CallOption) (*emptypb.Empty, error) }
func NewRelationService ¶
func NewRelationService(name string, c client.Client) RelationService
type RemoveRelationsReq ¶
type RemoveRelationsReq struct { UserId int64 `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId"` // 用户id RelationUserIds []int64 `protobuf:"varint,2,rep,packed,name=RelationUserIds,proto3" json:"RelationUserIds"` // UserId 拉黑 RelationUserIds // contains filtered or unexported fields }
func (*RemoveRelationsReq) Descriptor
deprecated
func (*RemoveRelationsReq) Descriptor() ([]byte, []int)
Deprecated: Use RemoveRelationsReq.ProtoReflect.Descriptor instead.
func (*RemoveRelationsReq) GetRelationUserIds ¶
func (x *RemoveRelationsReq) GetRelationUserIds() []int64
func (*RemoveRelationsReq) GetUserId ¶
func (x *RemoveRelationsReq) GetUserId() int64
func (*RemoveRelationsReq) ProtoMessage ¶
func (*RemoveRelationsReq) ProtoMessage()
func (*RemoveRelationsReq) ProtoReflect ¶
func (x *RemoveRelationsReq) ProtoReflect() protoreflect.Message
func (*RemoveRelationsReq) Reset ¶
func (x *RemoveRelationsReq) Reset()
func (*RemoveRelationsReq) String ¶
func (x *RemoveRelationsReq) String() string
func (*RemoveRelationsReq) Validate ¶
func (m *RemoveRelationsReq) Validate() error
Validate checks the field values on RemoveRelationsReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RemoveRelationsReq) ValidateAll ¶
func (m *RemoveRelationsReq) ValidateAll() error
ValidateAll checks the field values on RemoveRelationsReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RemoveRelationsReqMultiError, or nil if none found.
type RemoveRelationsReqMultiError ¶
type RemoveRelationsReqMultiError []error
RemoveRelationsReqMultiError is an error wrapping multiple validation errors returned by RemoveRelationsReq.ValidateAll() if the designated constraints aren't met.
func (RemoveRelationsReqMultiError) AllErrors ¶
func (m RemoveRelationsReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RemoveRelationsReqMultiError) Error ¶
func (m RemoveRelationsReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RemoveRelationsReqValidationError ¶
type RemoveRelationsReqValidationError struct {
// contains filtered or unexported fields
}
RemoveRelationsReqValidationError is the validation error returned by RemoveRelationsReq.Validate if the designated constraints aren't met.
func (RemoveRelationsReqValidationError) Cause ¶
func (e RemoveRelationsReqValidationError) Cause() error
Cause function returns cause value.
func (RemoveRelationsReqValidationError) Error ¶
func (e RemoveRelationsReqValidationError) Error() string
Error satisfies the builtin error interface
func (RemoveRelationsReqValidationError) ErrorName ¶
func (e RemoveRelationsReqValidationError) ErrorName() string
ErrorName returns error name.
func (RemoveRelationsReqValidationError) Field ¶
func (e RemoveRelationsReqValidationError) Field() string
Field function returns field value.
func (RemoveRelationsReqValidationError) Key ¶
func (e RemoveRelationsReqValidationError) Key() bool
Key function returns key value.
func (RemoveRelationsReqValidationError) Reason ¶
func (e RemoveRelationsReqValidationError) Reason() string
Reason function returns reason value.