audit

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

func New

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

New account dao.

func (*Dao) ApplyPGC

func (d *Dao) ApplyPGC(c context.Context, ids []int64, aTime int64) (err error)

ApplyPGC saves pgc apply_time; only PGC needs this

func (*Dao) BeginTran

func (d *Dao) BeginTran(c context.Context) (tx *xsql.Tx, err error)

BeginTran def.

func (*Dao) PgcCID

func (d *Dao) PgcCID(c context.Context, cid int64) (ids []int64, err error)

PgcCID picks one ugc video data with its cid

func (*Dao) PgcTranscode

func (d *Dao) PgcTranscode(c context.Context, ids []int64, action int64) (err error)

PgcTranscode updates the transcoded status of an ep data

func (*Dao) UgcCID

func (d *Dao) UgcCID(c context.Context, cid int64) (ids []int64, err error)

UgcCID picks one ugc video data with its cid

func (*Dao) UgcTranscode

func (d *Dao) UgcTranscode(c context.Context, ids []int64, action int64) (err error)

UgcTranscode updates the transcoded status of an ep data

func (*Dao) UpdateArc

func (d *Dao) UpdateArc(c context.Context, v *model.AuditOp, tx *xsql.Tx) (err error)

UpdateArc .

func (*Dao) UpdateCont

func (d *Dao) UpdateCont(c context.Context, val *model.AuditOp, tx *xsql.Tx) (err error)

UpdateCont .

func (*Dao) UpdateSea

func (d *Dao) UpdateSea(c context.Context, val *model.AuditOp, tx *xsql.Tx) (err error)

UpdateSea .

func (*Dao) UpdateVideo

func (d *Dao) UpdateVideo(c context.Context, v *model.AuditOp, tx *xsql.Tx) (err error)

UpdateVideo .

Jump to

Keyboard shortcuts

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