tag

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
}

func New

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

func (*Dao) Add

func (d *Dao) Add(c context.Context, mid, tid int64, now time.Time) (err error)

func (*Dao) Cancel

func (d *Dao) Cancel(c context.Context, mid, tid int64, now time.Time) (err error)

func (*Dao) Detail

func (d *Dao) Detail(c context.Context, tagID int, pn, ps int, now time.Time) (arcids []int64, err error)

func (*Dao) Hots

func (d *Dao) Hots(c context.Context, mid int64, rid int16, now time.Time) (hs []*tag.Hot, err error)

Hots.

func (*Dao) InfoByIDs

func (d *Dao) InfoByIDs(c context.Context, mid int64, tids []int64) (tm map[int64]*tag.Tag, err error)

func (*Dao) SubTags

func (d *Dao) SubTags(c context.Context, mid, vmid int64, pn, ps int) (sub *tag.Sub, err error)

func (*Dao) Tags

func (d *Dao) Tags(c context.Context, mid int64, aids []int64, now time.Time) (tagm map[string][]*tag.Tag, err error)

Jump to

Keyboard shortcuts

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