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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dao

type Dao struct {
	// contains filtered or unexported fields
}

Dao define

func New

func New(c *conf.Config) (d *Dao)

New init dao

func (*Dao) BreachList

func (d *Dao) BreachList(c context.Context, mid int64, pn, ps int, ip string) (bl *growup.BreachList, err error)

BreachList breach list.

func (*Dao) IncomeList

func (d *Dao) IncomeList(c context.Context, mid int64, ty, pn, ps int, ip string) (il *growup.IncomeList, err error)

IncomeList income by video/article/music.

func (*Dao) Join

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

Join join growup.

func (*Dao) Quit

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

Quit quit growup.

func (*Dao) Stat

func (d *Dao) Stat(c context.Context, mid int64, ip string) (st *growup.Stat, err error)

Stat income by month.

func (*Dao) Summary

func (d *Dao) Summary(c context.Context, mid int64, ip string) (sm *growup.Summary, err error)

Summary income.

func (*Dao) UpInfo

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

UpInfo get up info.

func (*Dao) UpStatus

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

UpStatus get up info.

Jump to

Keyboard shortcuts

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