Documentation ¶
Index ¶
- func DefaultClient() *http.Client
- func Get(url string) (string, error)
- func GetAsBytes(url string) ([]byte, error)
- func GetAsBytesWithHeaders(url string, headers map[string]string) ([]byte, error)
- func GetM3UMeta(master *string, URL, Ext string) ([]*static.URL, []byte, error)
- func GetSizeFromHeaders(headers *http.Header) (int64, error)
- func GetWithHeaders(url string, headers map[string]string) (string, error)
- func Headers(url, refer string) (http.Header, error)
- func PostAsBytes(url string) ([]byte, error)
- func PostAsBytesWithHeaders(url string, headers map[string]string) ([]byte, error)
- func Request(method string, url string, headers map[string]string, body io.Reader) (*http.Response, error)
- func Size(url, refer string) (int64, error)
- type LogRedirects
- type Myjar
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAsBytesWithHeaders ¶
GetAsBytesWithHeaders content as string
func GetM3UMeta ¶
GetM3UMeta segment urls
func GetSizeFromHeaders ¶
GetSizeFromHeaders of http.Response
func GetWithHeaders ¶
GetWithHeaders content as string
func PostAsBytesWithHeaders ¶
PostAsBytesWithHeaders content as string
Types ¶
type LogRedirects ¶
type LogRedirects struct {
Transport http.RoundTripper
}
LogRedirects to sanitize "Location" URLs
Click to show internal directories.
Click to hide internal directories.