Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultClientOpts = ClientOptions{ BaseURL: "https://api.real-debrid.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 // When setting this to true, the user's original IP address is read from the context parameter with the key "debrid_originIP". ForwardOriginIP bool }
func NewClientOpts ¶
Click to show internal directories.
Click to hide internal directories.