Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultClientOpts = ClientOptions{ BaseURL: "https://api.alldebrid.com", Timeout: 5 * time.Second, CacheAge: 24 * time.Hour, }
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CheckInstantAvailability ¶
func (*Client) GetStreamURL ¶
type ClientOptions ¶
type ClientOptions struct { BaseURL string Timeout time.Duration CacheAge time.Duration ExtraHeaders []string }
func NewClientOpts ¶
func NewClientOpts(baseURL string, timeout, cacheAge time.Duration, extraHeaders []string) ClientOptions
Click to show internal directories.
Click to hide internal directories.