Documentation ¶
Index ¶
- Constants
- type Dao
- func (d *Dao) Add(c context.Context, ap *archive.ArcParam, ip string) (aid int64, err error)
- func (d *Dao) ApplyStaffs(c context.Context, aid int64, ip string) (staffs []*archive.Staff, err error)
- func (d *Dao) Close()
- func (d *Dao) DescFormat(c context.Context) (descFormats map[int]*archive.DescFormat, err error)
- func (d *Dao) Edit(c context.Context, ap *archive.ArcParam, ip string) (err error)
- func (d *Dao) FilenameExpires(c context.Context, vs []*archive.VideoParam) (ves []*archive.VideoExpire, err error)
- func (d *Dao) FreshFavTypes(c context.Context, mid int64, tp int) (err error)
- func (d *Dao) GameList(c context.Context) (gameMap map[int64]*pordermdl.Game, err error)
- func (d *Dao) Ping(c context.Context) (err error)
- func (d *Dao) PorderCfgList(c context.Context) (cfgs map[int64]*pordermdl.Config, err error)
- func (d *Dao) StaffTypeConfig(c context.Context) (isGary bool, typeConf map[int16]*archive.StaffTypeConf, err error)
- func (d *Dao) StaffUps(c context.Context) (ups map[int64]int64, err error)
- func (d *Dao) TagUp(c context.Context, aid int64, tag, ip string) (err error)
- func (d *Dao) TypeMapping(c context.Context) (rmap map[int16]*archive.Type, err error)
- func (d *Dao) UpSpecial(c context.Context, gpid int64) (ups map[int64]int64, err error)
- func (d *Dao) View(c context.Context, aid int64, ip string) (a *archive.Archive, vs []*archive.Video, err error)
Constants ¶
View Source
const ( // StaffWhiteGroupID const StaffWhiteGroupID = int64(24) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
Dao is archive dao.
func (*Dao) ApplyStaffs ¶
func (d *Dao) ApplyStaffs(c context.Context, aid int64, ip string) (staffs []*archive.Staff, err error)
ApplyStaffs fn
func (*Dao) DescFormat ¶
DescFormat fn
func (*Dao) FilenameExpires ¶
func (d *Dao) FilenameExpires(c context.Context, vs []*archive.VideoParam) (ves []*archive.VideoExpire, err error)
FilenameExpires get filename expire time.
func (*Dao) FreshFavTypes ¶
FreshFavTypes fn
func (*Dao) PorderCfgList ¶
PorderCfgList fn
func (*Dao) StaffTypeConfig ¶
func (d *Dao) StaffTypeConfig(c context.Context) (isGary bool, typeConf map[int16]*archive.StaffTypeConf, err error)
StaffTypeConfig 获取联合投稿分区配置
func (*Dao) TypeMapping ¶
TypeMapping is second types opposite first types.
Click to show internal directories.
Click to hide internal directories.