relation

package
v0.0.0-...-83adff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

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 New

func New(c *rpc.ClientConfig) (s *Service)

New new service instance and return.

func (*Service) Achieve

func (s *Service) Achieve(c context.Context, arg *model.ArgAchieve) (*model.Achieve, error)

Achieve is

func (*Service) AchieveGet

func (s *Service) AchieveGet(c context.Context, arg *model.ArgAchieveGet) (*model.AchieveGetReply, error)

AchieveGet is

func (*Service) AddSpecial

func (s *Service) AddSpecial(c context.Context, arg *model.ArgFollowing) (err error)

AddSpecial add specail.

func (*Service) Blacks

func (s *Service) Blacks(c context.Context, arg *model.ArgMid) (res []*model.Following, err error)

Blacks get black list.

func (*Service) ClosePrompt

func (s *Service) ClosePrompt(c context.Context, arg *model.ArgPrompt) (err error)

ClosePrompt close prompt client.

func (*Service) CreateTag

func (s *Service) CreateTag(c context.Context, arg *model.ArgTag) (res int64, err error)

CreateTag create tag

func (*Service) DelSpecial

func (s *Service) DelSpecial(c context.Context, arg *model.ArgFollowing) (err error)

DelSpecial del special.

func (*Service) DelTag

func (s *Service) DelTag(c context.Context, arg *model.ArgTagDel) (err error)

DelTag del tag

func (*Service) DisableFollowerNotify

func (s *Service) DisableFollowerNotify(c context.Context, arg *model.ArgMid) (err error)

DisableFollowerNotify set followerNotify as disabled.

func (*Service) EnableFollowerNotify

func (s *Service) EnableFollowerNotify(c context.Context, arg *model.ArgMid) (err error)

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

func (s *Service) FollowersUnread(c context.Context, arg *model.ArgMid) (show bool, err error)

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

func (s *Service) ModifyRelation(c context.Context, arg *model.ArgFollowing) (err error)

ModifyRelation modify user relation.

func (*Service) Prompt

func (s *Service) Prompt(c context.Context, arg *model.ArgPrompt) (b bool, err error)

Prompt rpc rpompt client

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

func (s *Service) ResetFollowersUnread(c context.Context, arg *model.ArgMid) (err error)

ResetFollowersUnread is

func (*Service) ResetFollowersUnreadCount

func (s *Service) ResetFollowersUnreadCount(c context.Context, arg *model.ArgMid) (err error)

ResetFollowersUnreadCount is

func (*Service) SameFollowings

func (s *Service) SameFollowings(c context.Context, arg *model.ArgSameFollowing) (res []*model.Following, err error)

SameFollowings is

func (*Service) Special

func (s *Service) Special(c context.Context, arg *model.ArgMid) (res []int64, err error)

Special get special.

func (*Service) Stat

func (s *Service) Stat(c context.Context, arg *model.ArgMid) (res *model.Stat, err error)

Stat get user relation stat.

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) Tag

func (s *Service) Tag(c context.Context, arg *model.ArgTagId) (res []int64, err error)

Tag tag

func (*Service) Tags

func (s *Service) Tags(c context.Context, arg *model.ArgMid) (res []*model.TagCount, err error)

Tags tags

func (*Service) TagsAddUsers

func (s *Service) TagsAddUsers(c context.Context, arg *model.ArgTagsMoveUsers) (err error)

TagsAddUsers tags add users

func (*Service) TagsCopyUsers

func (s *Service) TagsCopyUsers(c context.Context, arg *model.ArgTagsMoveUsers) (err error)

TagsCopyUsers tags copy users

func (*Service) TagsMoveUsers

func (s *Service) TagsMoveUsers(c context.Context, arg *model.ArgTagsMoveUsers) (err error)

TagsMoveUsers tags move users

func (*Service) UpdateTag

func (s *Service) UpdateTag(c context.Context, arg *model.ArgTagUpdate) (err error)

UpdateTag update tag

func (*Service) UserTag

func (s *Service) UserTag(c context.Context, arg *model.ArgRelation) (res map[int64]string, err error)

UserTag user tag

func (*Service) Whispers

func (s *Service) Whispers(c context.Context, arg *model.ArgMid) (res []*model.Following, err error)

Whispers get whispers infos.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL