Documentation ¶
Index ¶
- func CoverURL(uri string) (cover string)
- type Public
- func (p *Public) BatchArchives(c context.Context, mid int64, aids []int64, ip string) (avm map[int64]*arcmdl.ArcVideo, err error)
- func (p *Public) BgmBindList(c context.Context, aid, cid, mType int64, cache bool) (resOk []*arcinter.ViewBGM, err error)
- func (p *Public) FillPayInfo(c context.Context, a *arcmdl.Archive, ugcPayCfg *conf.UgcPay, ip string) (pay *arcmdl.UgcPayInfo)
- func (p *Public) StaffList(c context.Context, aid int64, cache bool) (res []*arcinter.Staff, err error)
- func (p *Public) TaskPub(mid int64, from, count int) (err error)
- type RPCDaos
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Public ¶
type Public struct { // type cache TypesCache map[string][]*arcmdl.Type TopTypesCache []*arcmdl.Type TypeMapCache map[int16]*arcmdl.Type CTypesCache map[string][]*arcmdl.Type AllMusics map[int64]*mMdl.Music DescFmtsCache map[int64]map[int8]map[int8]*arcmdl.DescFormat DescFmtsArrCache []*arcmdl.DescFormat // cache ActVideoAllCache []*actmdl.Activity TopActCache []*actmdl.Activity ActMapCache map[int64]*actmdl.Activity StaffTitlesCache []*tagMdl.StaffTitle AppWhiteMidsByGroups map[int64]map[int64]int64 // contains filtered or unexported fields }
Public struct
func (*Public) BatchArchives ¶
func (p *Public) BatchArchives(c context.Context, mid int64, aids []int64, ip string) (avm map[int64]*arcmdl.ArcVideo, err error)
BatchArchives batch get archive info.
func (*Public) BgmBindList ¶
func (p *Public) BgmBindList(c context.Context, aid, cid, mType int64, cache bool) (resOk []*arcinter.ViewBGM, err error)
BgmBindList fn
func (*Public) FillPayInfo ¶
func (p *Public) FillPayInfo(c context.Context, a *arcmdl.Archive, ugcPayCfg *conf.UgcPay, ip string) (pay *arcmdl.UgcPayInfo)
FillPayInfo fill pay
Click to show internal directories.
Click to hide internal directories.