Documentation
¶
Index ¶
- type Service
- func (s *Service) Channel(c context.Context, id, mid int64, buvid string) (channel *web.Channel, err error)
- func (s *Service) Close()
- func (s *Service) FullShort(c context.Context, pn, ps int64, source string) (res []*webmdl.Mi, err error)
- func (s *Service) PgcFull(ctx context.Context, tp int, pn, ps int64, source string) (res interface{}, err error)
- func (s *Service) PgcIncre(ctx context.Context, tp int, pn, ps, start, end int64, source string) (res interface{}, err error)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) Recruit(ctx context.Context, param url.Values, route *web.Params) (res json.RawMessage, err error)
- func (s *Service) UgcFull(ctx context.Context, pn, ps int64, source string) (res []*webmdl.Mi, err error)
- func (s *Service) UgcIncre(ctx context.Context, pn, ps int, start, end int64, source string) (res []*webmdl.Mi, 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 struct .
func (*Service) Channel ¶
func (s *Service) Channel(c context.Context, id, mid int64, buvid string) (channel *web.Channel, err error)
Channel .
func (*Service) FullShort ¶
func (s *Service) FullShort(c context.Context, pn, ps int64, source string) (res []*webmdl.Mi, err error)
FullShort xiao mi FullShort .
func (*Service) PgcFull ¶
func (s *Service) PgcFull(ctx context.Context, tp int, pn, ps int64, source string) (res interface{}, err error)
PgcFull pgc full .
func (*Service) PgcIncre ¶
func (s *Service) PgcIncre(ctx context.Context, tp int, pn, ps, start, end int64, source string) (res interface{}, err error)
PgcIncre pgc incre .
func (*Service) Recruit ¶
func (s *Service) Recruit(ctx context.Context, param url.Values, route *web.Params) (res json.RawMessage, err error)
Recruit .
Click to show internal directories.
Click to hide internal directories.