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: 12 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) Detail

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

func (*Dao) DetailRanking

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

DetailRanking tag detail ranking

func (*Dao) InfoByID

func (d *Dao) InfoByID(c context.Context, mid, tid int64) (t *tag.Tag, err error)

InfoByID by tag id

func (*Dao) InfoByName

func (d *Dao) InfoByName(c context.Context, tname string) (t *tag.Tag, err error)

InfoByName by tag name

func (*Dao) SimilarTagChange

func (d *Dao) SimilarTagChange(c context.Context, tagID int64, now time.Time) (data []*tag.SimilarTag, err error)

SimilarTagChangetag tag similar no rid

func (*Dao) TagHotsId

func (d *Dao) TagHotsId(c context.Context, rid int, now time.Time) (tags []*tag.Tag, err error)

TagHotsId

func (*Dao) TagInfo

func (d *Dao) TagInfo(c context.Context, mid int64, tagId int, now time.Time) (data *tag.Tag, err error)

TagInfo get tag info.

Jump to

Keyboard shortcuts

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