client

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: 4 Imported by: 0

Documentation

Index

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 New3

func New3(c *rpc.ClientConfig) (s *Service3)

New3 for new struct Service2 obj DEPRECATED: Please use gRPC service instead.

func (*Service3) AddExp3

func (s *Service3) AddExp3(c context.Context, arg *model.ArgExp) (err error)

AddExp3 receive ArgExp contains mid, money and reason, then add exp for user. DEPRECATED: Please use gRPC service instead.

func (*Service3) AddMoral3

func (s *Service3) AddMoral3(c context.Context, arg *model.ArgMoral) (err error)

AddMoral3 receive ArgMoral contains mid, moral, oper, reason and remark, then add moral for user. DEPRECATED: Please use gRPC service instead.

func (*Service3) Attentions3

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

Attentions3 get user attentions ,include followings and whispers. DEPRECATED: Please use gRPC service instead.

func (*Service3) Blacks3

func (s *Service3) Blacks3(c context.Context, arg *model.ArgMid) (res map[int64]struct{}, err error)

Blacks3 get user black list. DEPRECATED: Please use gRPC service instead.

func (*Service3) Card3

func (s *Service3) Card3(c context.Context, arg *model.ArgMid) (res *v1.Card, err error)

Card3 receive ArgMid contains mid and real ip, then init user card. DEPRECATED: Please use gRPC service instead.

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. DEPRECATED: Please use gRPC service instead.

func (*Service3) Info3

func (s *Service3) Info3(c context.Context, arg *model.ArgMid) (res *v1.Info, err error)

Info3 receive ArgMid contains mid and real ip, then init user info. DEPRECATED: Please use gRPC service instead.

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. DEPRECATED: Please use gRPC service instead.

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. DEPRECATED: Please use gRPC service instead.

func (*Service3) Profile3

func (s *Service3) Profile3(c context.Context, arg *model.ArgMid) (res *v1.Profile, err error)

Profile3 get user profile. DEPRECATED: Please use gRPC service instead.

func (*Service3) ProfileWithStat3

func (s *Service3) ProfileWithStat3(c context.Context, arg *model.ArgMid) (res *model.ProfileStat, err error)

ProfileWithStat3 get user profile. DEPRECATED: Please use gRPC service instead.

func (*Service3) Relation3

func (s *Service3) Relation3(c context.Context, arg *model.ArgRelation) (res *model.Relation, err error)

Relation3 get user friend relation. DEPRECATED: Please use gRPC service instead.

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. DEPRECATED: Please use gRPC service instead.

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. DEPRECATED: Please use gRPC service instead.

Jump to

Keyboard shortcuts

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