Documentation
¶
Index ¶
- type Service
- func (s *Service) Achieve(c context.Context, arg *model.ArgAchieve) (*model.Achieve, error)
- func (s *Service) AchieveGet(c context.Context, arg *model.ArgAchieveGet) (*model.AchieveGetReply, error)
- func (s *Service) AddSpecial(c context.Context, arg *model.ArgFollowing) (err error)
- func (s *Service) Blacks(c context.Context, arg *model.ArgMid) (res []*model.Following, err error)
- func (s *Service) ClosePrompt(c context.Context, arg *model.ArgPrompt) (err error)
- func (s *Service) CreateTag(c context.Context, arg *model.ArgTag) (res int64, err error)
- func (s *Service) DelSpecial(c context.Context, arg *model.ArgFollowing) (err error)
- func (s *Service) DelTag(c context.Context, arg *model.ArgTagDel) (err error)
- func (s *Service) DisableFollowerNotify(c context.Context, arg *model.ArgMid) (err error)
- func (s *Service) EnableFollowerNotify(c context.Context, arg *model.ArgMid) (err error)
- func (s *Service) FollowerNotifySetting(c context.Context, arg *model.ArgMid) (followerNotify *model.FollowerNotifySetting, err error)
- func (s *Service) Followers(c context.Context, arg *model.ArgMid) (res []*model.Following, err error)
- func (s *Service) FollowersUnread(c context.Context, arg *model.ArgMid) (show bool, err error)
- func (s *Service) FollowersUnreadCount(c context.Context, arg *model.ArgMid) (count int64, err error)
- func (s *Service) Followings(c context.Context, arg *model.ArgMid) (res []*model.Following, err error)
- func (s *Service) ModifyRelation(c context.Context, arg *model.ArgFollowing) (err error)
- func (s *Service) Prompt(c context.Context, arg *model.ArgPrompt) (b bool, err error)
- func (s *Service) Relation(c context.Context, arg *model.ArgRelation) (res *model.Following, err error)
- func (s *Service) Relations(c context.Context, arg *model.ArgRelations) (res map[int64]*model.Following, err error)
- func (s *Service) ResetFollowersUnread(c context.Context, arg *model.ArgMid) (err error)
- func (s *Service) ResetFollowersUnreadCount(c context.Context, arg *model.ArgMid) (err error)
- func (s *Service) SameFollowings(c context.Context, arg *model.ArgSameFollowing) (res []*model.Following, err error)
- func (s *Service) Special(c context.Context, arg *model.ArgMid) (res []int64, err error)
- func (s *Service) Stat(c context.Context, arg *model.ArgMid) (res *model.Stat, err error)
- func (s *Service) Stats(c context.Context, arg *model.ArgMids) (res map[int64]*model.Stat, err error)
- func (s *Service) Tag(c context.Context, arg *model.ArgTagId) (res []int64, err error)
- func (s *Service) Tags(c context.Context, arg *model.ArgMid) (res []*model.TagCount, err error)
- func (s *Service) TagsAddUsers(c context.Context, arg *model.ArgTagsMoveUsers) (err error)
- func (s *Service) TagsCopyUsers(c context.Context, arg *model.ArgTagsMoveUsers) (err error)
- func (s *Service) TagsMoveUsers(c context.Context, arg *model.ArgTagsMoveUsers) (err error)
- func (s *Service) UpdateTag(c context.Context, arg *model.ArgTagUpdate) (err error)
- func (s *Service) UserTag(c context.Context, arg *model.ArgRelation) (res map[int64]string, err error)
- func (s *Service) Whispers(c context.Context, arg *model.ArgMid) (res []*model.Following, 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 info.
func (*Service) AchieveGet ¶
func (s *Service) AchieveGet(c context.Context, arg *model.ArgAchieveGet) (*model.AchieveGetReply, error)
AchieveGet is
func (*Service) AddSpecial ¶
AddSpecial add specail.
func (*Service) ClosePrompt ¶
ClosePrompt close prompt client.
func (*Service) DelSpecial ¶
DelSpecial del special.
func (*Service) DisableFollowerNotify ¶
DisableFollowerNotify set followerNotify as disabled.
func (*Service) EnableFollowerNotify ¶
EnableFollowerNotify set followerNotify as disabled.
func (*Service) FollowerNotifySetting ¶
func (s *Service) FollowerNotifySetting(c context.Context, arg *model.ArgMid) (followerNotify *model.FollowerNotifySetting, err error)
FollowerNotifySetting get followerNotify setting.
func (*Service) Followers ¶
func (s *Service) Followers(c context.Context, arg *model.ArgMid) (res []*model.Following, err error)
Followers get followers list.
func (*Service) FollowersUnread ¶
FollowersUnread check unread status, for the 'show red point' function.
func (*Service) FollowersUnreadCount ¶
func (s *Service) FollowersUnreadCount(c context.Context, arg *model.ArgMid) (count int64, err error)
FollowersUnreadCount unread count.
func (*Service) Followings ¶
func (s *Service) Followings(c context.Context, arg *model.ArgMid) (res []*model.Following, err error)
Followings get followings infos.
func (*Service) ModifyRelation ¶
ModifyRelation modify user relation.
func (*Service) Relation ¶
func (s *Service) Relation(c context.Context, arg *model.ArgRelation) (res *model.Following, err error)
Relation get relation info.
func (*Service) Relations ¶
func (s *Service) Relations(c context.Context, arg *model.ArgRelations) (res map[int64]*model.Following, err error)
Relations get relation infos.
func (*Service) ResetFollowersUnread ¶
ResetFollowersUnread is
func (*Service) ResetFollowersUnreadCount ¶
ResetFollowersUnreadCount is
func (*Service) SameFollowings ¶
func (s *Service) SameFollowings(c context.Context, arg *model.ArgSameFollowing) (res []*model.Following, err error)
SameFollowings is
func (*Service) Stats ¶
func (s *Service) Stats(c context.Context, arg *model.ArgMids) (res map[int64]*model.Stat, err error)
Stats get users relation stat.
func (*Service) TagsAddUsers ¶
TagsAddUsers tags add users
func (*Service) TagsCopyUsers ¶
TagsCopyUsers tags copy users
func (*Service) TagsMoveUsers ¶
TagsMoveUsers tags move users