history

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: 13 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 is account dao.

func New

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

New account dao.

func (*Dao) Cursor

func (d *Dao) Cursor(c context.Context, mid, max int64, ps int, tp int8, businesses []string) (res []*hismodel.Resource, err error)

Cursor get history rpc data

func (*Dao) HisCache

func (d *Dao) HisCache(c context.Context, mid int64) (s *history.HisMC, err error)

HisCache get history cms cache.

func (*Dao) SaveHisCache

func (d *Dao) SaveHisCache(ctx context.Context, filtered []*history.HisRes)

SaveHisCache save the member's history into cache

Jump to

Keyboard shortcuts

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