Documentation ¶
Index ¶
- type Service
- func (s *Service) AddLike(c context.Context, in *api.LikeReq) (res *api.LikeReply, err error)
- func (s *Service) CancelLike(c context.Context, in *api.LikeReq) (res *api.LikeReply, err error)
- func (s *Service) Close()
- func (s *Service) ForbidUser(c context.Context, req *api.ForbidRequest) (res *empty.Empty, err error)
- func (s *Service) IsLike(ctx context.Context, req *api.IsLikeReq) (res *api.IsLikeReply, err error)
- func (s *Service) ListBlack(ctx context.Context, in *api.ListRelationReq) (res *api.ListRelationReply, err error)
- func (s *Service) ListBlackUserInfo(ctx context.Context, in *api.ListRelationUserInfoReq) (res *api.ListUserInfoReply, err error)
- func (s *Service) ListFanUserInfo(ctx context.Context, in *api.ListRelationUserInfoReq) (res *api.ListUserInfoReply, err error)
- func (s *Service) ListFollow(ctx context.Context, in *api.ListRelationReq) (res *api.ListRelationReply, err error)
- func (s *Service) ListFollowUserInfo(ctx context.Context, in *api.ListRelationUserInfoReq) (res *api.ListUserInfoReply, err error)
- func (s *Service) ListUserInfo(c context.Context, in *api.ListUserInfoReq) (res *api.ListUserInfoReply, err error)
- func (s *Service) ListUserLike(ctx context.Context, req *api.ListUserLikeReq) (res *api.ListUserLikeReply, err error)
- func (s *Service) Login(c context.Context, in *api.UserBase) (res *api.UserBase, err error)
- func (s *Service) ModifyRelation(c context.Context, arg *api.ModifyRelationReq) (res *api.ModifyRelationReply, err error)
- func (s *Service) PhoneCheck(c context.Context, in *api.PhoneCheckReq) (res *api.PhoneCheckReply, err error)
- func (s *Service) Ping(ctx context.Context) (err error)
- func (s *Service) ReleaseUser(c context.Context, req *api.ReleaseRequest) (res *empty.Empty, err error)
- func (s *Service) UpdateUserVideoView(c context.Context, req *api.UserVideoView) (res *empty.Empty, err error)
- func (s *Service) UserCmsTagEdit(c context.Context, in *api.CmsTagRequest) (res *empty.Empty, err error)
- func (s *Service) UserEdit(c context.Context, in *api.UserBase) (res *empty.Empty, err error)
- func (s *Service) UserFieldEdit(c context.Context, in *api.UserBase) (res *empty.Empty, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service struct
func (*Service) CancelLike ¶
CancelLike 取消点赞
func (*Service) ForbidUser ¶
func (s *Service) ForbidUser(c context.Context, req *api.ForbidRequest) (res *empty.Empty, err error)
ForbidUser ...
func (*Service) ListBlack ¶
func (s *Service) ListBlack(ctx context.Context, in *api.ListRelationReq) (res *api.ListRelationReply, err error)
ListBlack 返回全部黑名单数组
func (*Service) ListBlackUserInfo ¶
func (s *Service) ListBlackUserInfo(ctx context.Context, in *api.ListRelationUserInfoReq) (res *api.ListUserInfoReply, err error)
ListBlackUserInfo .
func (*Service) ListFanUserInfo ¶
func (s *Service) ListFanUserInfo(ctx context.Context, in *api.ListRelationUserInfoReq) (res *api.ListUserInfoReply, err error)
ListFanUserInfo .
func (*Service) ListFollow ¶
func (s *Service) ListFollow(ctx context.Context, in *api.ListRelationReq) (res *api.ListRelationReply, err error)
ListFollow 返回全部关注数组
func (*Service) ListFollowUserInfo ¶
func (s *Service) ListFollowUserInfo(ctx context.Context, in *api.ListRelationUserInfoReq) (res *api.ListUserInfoReply, err error)
ListFollowUserInfo 关注列表 注意:这里出现3种mid,visitor/host/host关注的mid,按顺序缩写为V、H、HF,其中根据H获取HF,然后计算V和HF的关注关系
func (*Service) ListUserInfo ¶
func (s *Service) ListUserInfo(c context.Context, in *api.ListUserInfoReq) (res *api.ListUserInfoReply, err error)
ListUserInfo 用户信息列表
func (*Service) ListUserLike ¶
func (s *Service) ListUserLike(ctx context.Context, req *api.ListUserLikeReq) (res *api.ListUserLikeReply, err error)
ListUserLike 用户的点赞列表
func (*Service) ModifyRelation ¶
func (s *Service) ModifyRelation(c context.Context, arg *api.ModifyRelationReq) (res *api.ModifyRelationReply, err error)
ModifyRelation .
func (*Service) PhoneCheck ¶
func (s *Service) PhoneCheck(c context.Context, in *api.PhoneCheckReq) (res *api.PhoneCheckReply, err error)
PhoneCheck ..
func (*Service) ReleaseUser ¶
func (s *Service) ReleaseUser(c context.Context, req *api.ReleaseRequest) (res *empty.Empty, err error)
ReleaseUser ...
func (*Service) UpdateUserVideoView ¶
func (s *Service) UpdateUserVideoView(c context.Context, req *api.UserVideoView) (res *empty.Empty, err error)
UpdateUserVideoView .
func (*Service) UserCmsTagEdit ¶
func (s *Service) UserCmsTagEdit(c context.Context, in *api.CmsTagRequest) (res *empty.Empty, err error)
UserCmsTagEdit 修改cms_tag
Click to show internal directories.
Click to hide internal directories.