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 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.