growup

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: 8 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.

func New

func New(c *conf.Config, rpcdaos *service.RPCDaos, p *service.Public) *Service

New get service.

func (*Service) BreachList

func (s *Service) BreachList(c context.Context, mid int64, pn, ps int, ip string) (ui *growup.BreachList, err error)

BreachList get up info.

func (*Service) IncomeList

func (s *Service) IncomeList(c context.Context, mid int64, ty, pn, ps int, ip string) (l *growup.IncomeList, err error)

IncomeList get up status.

func (*Service) Join

func (s *Service) Join(c context.Context, mid int64, accTy, signTy int, ip string) (err error)

Join join growup.

func (*Service) Quit

func (s *Service) Quit(c context.Context, mid int64, ip string) (err error)

Quit quit growup.

func (*Service) Stat

func (s *Service) Stat(c context.Context, mid int64, ip string) (ui *growup.Stat, err error)

Stat get up info.

func (*Service) Summary

func (s *Service) Summary(c context.Context, mid int64, ip string) (us *growup.Summary, err error)

Summary get up status.

func (*Service) UpInfo

func (s *Service) UpInfo(c context.Context, mid int64, ip string) (ui *growup.UpInfo, err error)

UpInfo get up info.

func (*Service) UpStatus

func (s *Service) UpStatus(c context.Context, mid int64, ip string) (us *growup.UpStatus, err error)

UpStatus get up status. 前提:必须当前用户线上有可以观看的视频(0/-6) TODO deprecated

Jump to

Keyboard shortcuts

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