Documentation ¶
Index ¶
- Variables
- type BilibiliService
- func (s *BilibiliService) GetDashPGCURL(ctx context.Context, req *pb.GetDashPGCURLReq) (*pb.GetDashPGCURLResp, error)
- func (s *BilibiliService) GetDashVideoURL(ctx context.Context, req *pb.GetDashVideoURLReq) (*pb.GetDashVideoURLResp, error)
- func (s *BilibiliService) GetLiveStreams(ctx context.Context, req *pb.GetLiveStreamsReq) (*pb.GetLiveStreamsResp, error)
- func (s *BilibiliService) GetPGCURL(ctx context.Context, req *pb.GetPGCURLReq) (*pb.VideoURL, error)
- func (s *BilibiliService) GetSubtitles(ctx context.Context, req *pb.GetSubtitlesReq) (*pb.GetSubtitlesResp, error)
- func (s *BilibiliService) GetVideoURL(ctx context.Context, req *pb.GetVideoURLReq) (*pb.VideoURL, error)
- func (s *BilibiliService) LoginWithQRCode(ctx context.Context, req *pb.LoginWithQRCodeReq) (*pb.LoginWithQRCodeResp, error)
- func (s *BilibiliService) LoginWithSMS(ctx context.Context, req *pb.LoginWithSMSReq) (*pb.LoginWithSMSResp, error)
- func (s *BilibiliService) Match(ctx context.Context, req *pb.MatchReq) (*pb.MatchResp, error)
- func (s *BilibiliService) NewCaptcha(ctx context.Context, req *pb.Empty) (*pb.NewCaptchaResp, error)
- func (s *BilibiliService) NewQRCode(ctx context.Context, req *pb.Empty) (*pb.NewQRCodeResp, error)
- func (s *BilibiliService) NewSMS(ctx context.Context, req *pb.NewSMSReq) (*pb.NewSMSResp, error)
- func (s *BilibiliService) ParseLivePage(ctx context.Context, req *pb.ParseLivePageReq) (*pb.VideoPageInfo, error)
- func (s *BilibiliService) ParsePGCPage(ctx context.Context, req *pb.ParsePGCPageReq) (*pb.VideoPageInfo, error)
- func (s *BilibiliService) ParseVideoPage(ctx context.Context, req *pb.ParseVideoPageReq) (*pb.VideoPageInfo, error)
- func (s *BilibiliService) UserInfo(ctx context.Context, req *pb.UserInfoReq) (*pb.UserInfoResp, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewBilibiliService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type BilibiliService ¶
type BilibiliService struct {
pb.UnimplementedBilibiliServer
}
func NewBilibiliService ¶
func NewBilibiliService(c *conf.BilibiliConfig) *BilibiliService
func (*BilibiliService) GetDashPGCURL ¶
func (s *BilibiliService) GetDashPGCURL(ctx context.Context, req *pb.GetDashPGCURLReq) (*pb.GetDashPGCURLResp, error)
func (*BilibiliService) GetDashVideoURL ¶
func (s *BilibiliService) GetDashVideoURL(ctx context.Context, req *pb.GetDashVideoURLReq) (*pb.GetDashVideoURLResp, error)
func (*BilibiliService) GetLiveStreams ¶ added in v0.3.3
func (s *BilibiliService) GetLiveStreams(ctx context.Context, req *pb.GetLiveStreamsReq) (*pb.GetLiveStreamsResp, error)
func (*BilibiliService) GetPGCURL ¶
func (s *BilibiliService) GetPGCURL(ctx context.Context, req *pb.GetPGCURLReq) (*pb.VideoURL, error)
func (*BilibiliService) GetSubtitles ¶
func (s *BilibiliService) GetSubtitles(ctx context.Context, req *pb.GetSubtitlesReq) (*pb.GetSubtitlesResp, error)
func (*BilibiliService) GetVideoURL ¶
func (s *BilibiliService) GetVideoURL(ctx context.Context, req *pb.GetVideoURLReq) (*pb.VideoURL, error)
func (*BilibiliService) LoginWithQRCode ¶
func (s *BilibiliService) LoginWithQRCode(ctx context.Context, req *pb.LoginWithQRCodeReq) (*pb.LoginWithQRCodeResp, error)
func (*BilibiliService) LoginWithSMS ¶
func (s *BilibiliService) LoginWithSMS(ctx context.Context, req *pb.LoginWithSMSReq) (*pb.LoginWithSMSResp, error)
func (*BilibiliService) NewCaptcha ¶
func (s *BilibiliService) NewCaptcha(ctx context.Context, req *pb.Empty) (*pb.NewCaptchaResp, error)
func (*BilibiliService) NewQRCode ¶
func (s *BilibiliService) NewQRCode(ctx context.Context, req *pb.Empty) (*pb.NewQRCodeResp, error)
func (*BilibiliService) NewSMS ¶
func (s *BilibiliService) NewSMS(ctx context.Context, req *pb.NewSMSReq) (*pb.NewSMSResp, error)
func (*BilibiliService) ParseLivePage ¶ added in v0.3.3
func (s *BilibiliService) ParseLivePage(ctx context.Context, req *pb.ParseLivePageReq) (*pb.VideoPageInfo, error)
func (*BilibiliService) ParsePGCPage ¶
func (s *BilibiliService) ParsePGCPage(ctx context.Context, req *pb.ParsePGCPageReq) (*pb.VideoPageInfo, error)
func (*BilibiliService) ParseVideoPage ¶
func (s *BilibiliService) ParseVideoPage(ctx context.Context, req *pb.ParseVideoPageReq) (*pb.VideoPageInfo, error)
func (*BilibiliService) UserInfo ¶
func (s *BilibiliService) UserInfo(ctx context.Context, req *pb.UserInfoReq) (*pb.UserInfoResp, error)
Click to show internal directories.
Click to hide internal directories.