spy

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 create instance of service and return.

func (*Service) ClearReliveTimes

func (s *Service) ClearReliveTimes(c context.Context, arg *model.ArgReset) (err error)

ClearReliveTimes cli.

func (*Service) HandleEvent

func (s *Service) HandleEvent(c context.Context, arg *model.ArgHandleEvent) (err error)

HandleEvent add spy event to user.

func (*Service) ReBuildPortrait

func (s *Service) ReBuildPortrait(c context.Context, arg *model.ArgReBuild) (err error)

ReBuildPortrait rebuild user risk portrait by task.

func (*Service) RefreshBaseScore

func (s *Service) RefreshBaseScore(c context.Context, arg *model.ArgReset) (err error)

RefreshBaseScore cli.

func (*Service) StatByID

func (s *Service) StatByID(c context.Context, arg *model.ArgStat) (stat []*model.Statistics, err error)

StatByID cli.

func (*Service) UpdateBaseScore

func (s *Service) UpdateBaseScore(c context.Context, arg *model.ArgReset) (err error)

UpdateBaseScore cli.

func (*Service) UpdateEventScore

func (s *Service) UpdateEventScore(c context.Context, arg *model.ArgReset) (err error)

UpdateEventScore cli.

func (*Service) UserInfo

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

UserInfo cli.

func (*Service) UserScore

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

UserScore archive get user spy score.

Jump to

Keyboard shortcuts

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