Documentation ¶
Index ¶
- type Dao
- func (d *Dao) CancelAdvDmPurchase(c context.Context, mid, id int64, ip string) (err error)
- func (d *Dao) DenyAdvDmPurchase(c context.Context, mid, id int64, ip string) (err error)
- func (d *Dao) Distri(c context.Context, mid, cid int64, ip string) (distri map[int64]int64, err error)
- func (d *Dao) Edit(c context.Context, mid, cid int64, state int8, dmids []int64, ip string) (err error)
- func (d *Dao) GetAdvDmPurchases(c context.Context, mid int64, ip string) (danmus []*danmu.AdvanceDanmu, err error)
- func (d *Dao) List(c context.Context, cid, mid int64, page, size int, ...) (dmList *danmu.DmList, err error)
- func (d *Dao) PassAdvDmPurchase(c context.Context, mid, id int64, ip string) (err error)
- func (d *Dao) ProtectApplyList(c context.Context, mid, page int64, aidStr, sort, ip string) (result *danmu.ApplyList, err error)
- func (d *Dao) ProtectApplyVideoList(c context.Context, mid int64, ip string) (result []*dmMdl.Video, err error)
- func (d *Dao) ProtectOper(c context.Context, mid, status int64, ids, ip string) (err error)
- func (d *Dao) Recent(c context.Context, mid, pn, ps int64, ip string) (dmRecent *danmu.DmRecent, aids []int64, err error)
- func (d *Dao) ReportUpArchives(c context.Context, mid int64, ip string) (ars []*danmu.DmArc, err error)
- func (d *Dao) ReportUpEdit(c context.Context, mid, dmid, cid, op int64, ip string) (err error)
- func (d *Dao) ReportUpList(c context.Context, mid, pn, ps int64, aidStr, ip string) (result []*dmMdl.RptSearch, total int64, err error)
- func (d *Dao) ResetUpBanned(c context.Context, mid int64, state int8, hash, ip string) (err error)
- func (d *Dao) Transfer(c context.Context, mid, fromCID, toCID int64, offset float64, ...) (err error)
- func (d *Dao) UpPool(c context.Context, mid, cid int64, dmids []int64, pool int8) (err error)
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 creative dao.
func (*Dao) CancelAdvDmPurchase ¶
CancelAdvDmPurchase fn
func (*Dao) DenyAdvDmPurchase ¶
DenyAdvDmPurchase fn
func (*Dao) Distri ¶
func (d *Dao) Distri(c context.Context, mid, cid int64, ip string) (distri map[int64]int64, err error)
Distri fn
func (*Dao) Edit ¶
func (d *Dao) Edit(c context.Context, mid, cid int64, state int8, dmids []int64, ip string) (err error)
Edit fn
func (*Dao) GetAdvDmPurchases ¶
func (d *Dao) GetAdvDmPurchases(c context.Context, mid int64, ip string) (danmus []*danmu.AdvanceDanmu, err error)
GetAdvDmPurchases fn
func (*Dao) List ¶
func (d *Dao) List(c context.Context, cid, mid int64, page, size int, order, pool, midStr, ip string) (dmList *danmu.DmList, err error)
List fn
func (*Dao) PassAdvDmPurchase ¶
PassAdvDmPurchase fn
func (*Dao) ProtectApplyList ¶
func (d *Dao) ProtectApplyList(c context.Context, mid, page int64, aidStr, sort, ip string) (result *danmu.ApplyList, err error)
ProtectApplyList fn
func (*Dao) ProtectApplyVideoList ¶
func (d *Dao) ProtectApplyVideoList(c context.Context, mid int64, ip string) (result []*dmMdl.Video, err error)
ProtectApplyVideoList fn
func (*Dao) ProtectOper ¶
ProtectOper fn
func (*Dao) Recent ¶
func (d *Dao) Recent(c context.Context, mid, pn, ps int64, ip string) (dmRecent *danmu.DmRecent, aids []int64, err error)
Recent fn
func (*Dao) ReportUpArchives ¶
func (d *Dao) ReportUpArchives(c context.Context, mid int64, ip string) (ars []*danmu.DmArc, err error)
ReportUpArchives fn
func (*Dao) ReportUpEdit ¶
ReportUpEdit fn
func (*Dao) ReportUpList ¶
func (d *Dao) ReportUpList(c context.Context, mid, pn, ps int64, aidStr, ip string) (result []*dmMdl.RptSearch, total int64, err error)
ReportUpList fn
func (*Dao) ResetUpBanned ¶
ResetUpBanned pool 0:cancel move,1:cancel ignore
Click to show internal directories.
Click to hide internal directories.