Documentation ¶
Index ¶
- type Service3
- func (s *Service3) AddExp3(c context.Context, arg *model.ArgExp) (err error)
- func (s *Service3) AddMoral3(c context.Context, arg *model.ArgMoral) (err error)
- func (s *Service3) Attentions3(c context.Context, arg *model.ArgMid) (res []int64, err error)
- func (s *Service3) Blacks3(c context.Context, arg *model.ArgMid) (res map[int64]struct{}, err error)
- func (s *Service3) Card3(c context.Context, arg *model.ArgMid) (res *v1.Card, err error)
- func (s *Service3) Cards3(c context.Context, arg *model.ArgMids) (res map[int64]*v1.Card, err error)
- func (s *Service3) Info3(c context.Context, arg *model.ArgMid) (res *v1.Info, err error)
- func (s *Service3) Infos3(c context.Context, arg *model.ArgMids) (res map[int64]*v1.Info, err error)
- func (s *Service3) InfosByName3(c context.Context, arg *model.ArgNames) (res map[int64]*v1.Info, err error)
- func (s *Service3) Profile3(c context.Context, arg *model.ArgMid) (res *v1.Profile, err error)
- func (s *Service3) ProfileWithStat3(c context.Context, arg *model.ArgMid) (res *model.ProfileStat, err error)
- func (s *Service3) Relation3(c context.Context, arg *model.ArgRelation) (res *model.Relation, err error)
- func (s *Service3) Relations3(c context.Context, arg *model.ArgRelations) (res map[int64]*model.Relation, err error)
- func (s *Service3) RichRelations3(c context.Context, arg *model.ArgRichRelation) (res map[int64]int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service3 ¶
type Service3 struct {
// contains filtered or unexported fields
}
Service3 for server client3
func (*Service3) AddExp3 ¶
AddExp3 receive ArgExp contains mid, money and reason, then add exp for user.
func (*Service3) AddMoral3 ¶
AddMoral3 receive ArgMoral contains mid, moral, oper, reason and remark, then add moral for user.
func (*Service3) Attentions3 ¶
Attentions3 get user attentions ,include followings and whispers.
func (*Service3) Blacks3 ¶
func (s *Service3) Blacks3(c context.Context, arg *model.ArgMid) (res map[int64]struct{}, err error)
Blacks3 get user black list.
func (*Service3) Cards3 ¶
func (s *Service3) Cards3(c context.Context, arg *model.ArgMids) (res map[int64]*v1.Card, err error)
Cards3 receive ArgMids contains mid and real ip, then init user card.
func (*Service3) Infos3 ¶
func (s *Service3) Infos3(c context.Context, arg *model.ArgMids) (res map[int64]*v1.Info, err error)
Infos3 receive ArgMids contains mid and real ip, then init user info.
func (*Service3) InfosByName3 ¶
func (s *Service3) InfosByName3(c context.Context, arg *model.ArgNames) (res map[int64]*v1.Info, err error)
InfosByName3 receive ArgMids contains mid and real ip, then init user info.
func (*Service3) ProfileWithStat3 ¶
func (s *Service3) ProfileWithStat3(c context.Context, arg *model.ArgMid) (res *model.ProfileStat, err error)
ProfileWithStat3 get user profile.
func (*Service3) Relation3 ¶
func (s *Service3) Relation3(c context.Context, arg *model.ArgRelation) (res *model.Relation, err error)
Relation3 get user friend relation.
func (*Service3) Relations3 ¶
func (s *Service3) Relations3(c context.Context, arg *model.ArgRelations) (res map[int64]*model.Relation, err error)
Relations3 batch get user friend relation.
func (*Service3) RichRelations3 ¶
func (s *Service3) RichRelations3(c context.Context, arg *model.ArgRichRelation) (res map[int64]int, err error)
RichRelations3 get relation between owner and mids.