Documentation
¶
Index ¶
- type Service
- func (s *Service) AdvDmPurchaseList(c context.Context, mid int64, ip string) (danmus []*danmu.AdvanceDanmu, err error)
- func (s *Service) CancelDmPurchase(c context.Context, mid, id int64, ip string) (err error)
- func (s *Service) DenyDmPurchase(c context.Context, mid, id int64, ip string) (err error)
- func (s *Service) Distri(c context.Context, mid, cid int64, ip string) (dmDistri map[int64]int64, err error)
- func (s *Service) DmProtectArchive(c context.Context, mid int64, ip string) (vlist []*dmMdl.Video, err error)
- func (s *Service) DmProtectList(c context.Context, mid int64, page int64, aidStr, sort, ip string) (list *danmu.ApplyList, err error)
- func (s *Service) DmProtectOper(c context.Context, mid, status int64, idsStr, ip string) (err error)
- func (s *Service) DmReportCheck(c context.Context, mid, cid, dmid, op int64, ip string) (err error)
- func (s *Service) DmReportList(c context.Context, mid, pn, ps int64, aidStr, ip string) (res map[string]interface{}, err error)
- func (s *Service) Edit(c context.Context, mid, id int64, state int8, dmids []int64, ip string) (err error)
- func (s *Service) EditBatch(c context.Context, mid int64, paramsJSON, ip string) (err error)
- func (s *Service) List(c context.Context, mid, aid, cid int64, pn, ps int, ...) (dmList *danmu.DmList, err error)
- func (s *Service) PassDmPurchase(c context.Context, mid, id int64, ip string) (err error)
- func (s *Service) Recent(c context.Context, mid, pn, ps int64, ip string) (dmRecent *danmu.DmRecent, err error)
- func (s *Service) SubView(c context.Context, aid int64, ip string) (ret *danmu.SubtitleSubjectReply, err error)
- func (s *Service) Transfer(c context.Context, mid, fromCID, toCID int64, offset float64, ...) (err error)
- func (s *Service) UpPool(c context.Context, cid int64, dmids []int64, pool int8, mid int64, ip string) (err error)
- func (s *Service) UserMid(c context.Context, name, ip string) (mid int64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service danmu.
func (*Service) AdvDmPurchaseList ¶
func (s *Service) AdvDmPurchaseList(c context.Context, mid int64, ip string) (danmus []*danmu.AdvanceDanmu, err error)
AdvDmPurchaseList fn
func (*Service) CancelDmPurchase ¶
CancelDmPurchase fn
func (*Service) DenyDmPurchase ¶
DenyDmPurchase fn
func (*Service) Distri ¶
func (s *Service) Distri(c context.Context, mid, cid int64, ip string) (dmDistri map[int64]int64, err error)
Distri fn
func (*Service) DmProtectArchive ¶
func (s *Service) DmProtectArchive(c context.Context, mid int64, ip string) (vlist []*dmMdl.Video, err error)
DmProtectArchive fn
func (*Service) DmProtectList ¶
func (s *Service) DmProtectList(c context.Context, mid int64, page int64, aidStr, sort, ip string) (list *danmu.ApplyList, err error)
DmProtectList fn
func (*Service) DmProtectOper ¶
func (s *Service) DmProtectOper(c context.Context, mid, status int64, idsStr, ip string) (err error)
DmProtectOper fn
func (*Service) DmReportCheck ¶
DmReportCheck fn
func (*Service) DmReportList ¶
func (s *Service) DmReportList(c context.Context, mid, pn, ps int64, aidStr, ip string) (res map[string]interface{}, err error)
DmReportList fn
func (*Service) Edit ¶
func (s *Service) Edit(c context.Context, mid, id int64, state int8, dmids []int64, ip string) (err error)
Edit fn
func (*Service) List ¶
func (s *Service) List(c context.Context, mid, aid, cid int64, pn, ps int, order, pool, midStr, ip string) (dmList *danmu.DmList, err error)
List fn
func (*Service) PassDmPurchase ¶
PassDmPurchase fn
func (*Service) Recent ¶
func (s *Service) Recent(c context.Context, mid, pn, ps int64, ip string) (dmRecent *danmu.DmRecent, err error)
Recent fn
func (*Service) SubView ¶
func (s *Service) SubView(c context.Context, aid int64, ip string) (ret *danmu.SubtitleSubjectReply, err error)
SubView fn
func (*Service) Transfer ¶
func (s *Service) Transfer(c context.Context, mid, fromCID, toCID int64, offset float64, ak, ck, ip string) (err error)
Transfer fn
Click to show internal directories.
Click to hide internal directories.