Documentation
¶
Index ¶
- type GetLinkInfoResponse
- type Service
- func (s *Service) GetLinkInfo(link string) (GetLinkInfoResponse, error)
- func (s *Service) GetMedia(ctx context.Context, linkInfo GetLinkInfoResponse) (*models.Media, error)
- func (s Service) Name() string
- func (s *Service) Start(ctx context.Context) error
- func (s Service) Stop(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetLinkInfoResponse ¶
type GetLinkInfoResponse struct {
RequestLink string
MediaSource models.MediaSource
Url *url.URL
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) GetLinkInfo ¶
func (s *Service) GetLinkInfo(link string) (GetLinkInfoResponse, error)
Click to show internal directories.
Click to hide internal directories.