workflow

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: 11 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 dao.

func New

func New(c *conf.Config) *Dao

New new a dao and return.

func (*Dao) ActivitySub

func (d *Dao) ActivitySub(c context.Context, oid int64) (title, link string, err error)

ActivitySub return activity sub link.

func (*Dao) AddReport

func (dao *Dao) AddReport(c context.Context, oid int64, typ int8, typeid int32, rpid int64, score int, reason int8, reporter int64, reported int64, like int, content string, link string, title string) (err error)

func (*Dao) BanTitle

func (d *Dao) BanTitle(c context.Context, oid int64) (title, link string, err error)

BanTitle get ban info.

func (*Dao) CreditTitle

func (d *Dao) CreditTitle(c context.Context, oid int64) (title, link string, err error)

CreditTitle return link.

func (*Dao) DynamicTitle

func (d *Dao) DynamicTitle(c context.Context, oid int64) (title, link string, err error)

DynamicTitle return link and title.

func (*Dao) HuoniaoTitle

func (d *Dao) HuoniaoTitle(c context.Context, oid int64) (title, link string, err error)

HuoniaoTitle title and link

func (*Dao) LiveActivityTitle

func (d *Dao) LiveActivityTitle(c context.Context, oid int64) (title, link string, err error)

LiveActivityTitle get live activity info.

func (*Dao) LiveNotice

func (d *Dao) LiveNotice(c context.Context, oid int64) (title string, err error)

LiveNotice return link.

func (*Dao) LiveNoticeTitle

func (d *Dao) LiveNoticeTitle(c context.Context, oid int64) (title, link string, err error)

LiveNoticeTitle get live notice info.

func (*Dao) LivePictureTitle

func (d *Dao) LivePictureTitle(c context.Context, oid int64) (title, link string, err error)

LivePictureTitle get live picture info.

func (*Dao) LiveVideoTitle

func (d *Dao) LiveVideoTitle(c context.Context, oid int64) (title, link string, err error)

LiveVideoTitle get live video title.

func (*Dao) NoticeTitle

func (d *Dao) NoticeTitle(c context.Context, oid int64) (title, link string, err error)

NoticeTitle get blackromm notice info.

func (*Dao) TopicTitle

func (d *Dao) TopicTitle(c context.Context, oid int64) (title, link string, err error)

TopicTitle get topic info.

func (d *Dao) TopicsLink(c context.Context, links map[int64]string, isTopic bool) (err error)

TopicsLink get topic info.

Jump to

Keyboard shortcuts

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