manager

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 is redis dao.

func New

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

New fn

func (*Dao) ArcReason

func (d *Dao) ArcReason(c context.Context, aid int64) (tagID int64, err error)

ArcReason get a archive reason tag

func (*Dao) Close

func (d *Dao) Close()

Close fn

func (*Dao) Ping

func (d *Dao) Ping(c context.Context) (err error)

Ping ping cpdb

func (*Dao) SearchUpdate

func (d *Dao) SearchUpdate(c context.Context, business, data string, aid int64) (err error)

searchUpdate .

func (*Dao) UpSpecial

func (d *Dao) UpSpecial(c context.Context) (ups []*archive.Up, err error)

UpSpecial load all ups with group info

func (*Dao) Uppers

func (d *Dao) Uppers(c context.Context) (um map[int8]map[int64]struct{}, err error)

Uppers get uppers by type.

Jump to

Keyboard shortcuts

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