Documentation ¶
Index ¶
- func MerakSign(params map[string]string, secret string) (string, error)
- type Dao
- func (d *Dao) ActOps(ctx context.Context, ids []int64, on bool) (err error)
- func (d *Dao) MerakNotify(ctx context.Context, title, content string) (err error)
- func (d *Dao) OffArcs(ctx context.Context, aids []int64) (offAids []int64, err error)
- func (d *Dao) ReshelfArcs(ctx context.Context, aids []int64) (err error)
- func (d *Dao) ShelveOp(ctx context.Context, validSns map[int64]int) (onIDs, offIDs []int64, err error)
- func (d *Dao) ValidSns(ctx context.Context, onlyfree bool) (res map[int64]int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dao ¶
Dao dao.
func (*Dao) MerakNotify ¶
MerakNotify send notify
func (*Dao) ReshelfArcs ¶
ReshelfArcs re-put the arcs onshelf ( CMS valid )
func (*Dao) ShelveOp ¶
func (d *Dao) ShelveOp(ctx context.Context, validSns map[int64]int) (onIDs, offIDs []int64, err error)
ShelveOp gets the status of all audited seasons on and off shelves, and compare the results with the "ValidSns" method above to determine which episodes need to be on or off shelves.
Click to show internal directories.
Click to hide internal directories.