Documentation ¶
Index ¶
- func ContentType(url, refer string) (string, error)
- func Get(url, refer string, headers map[string]string) (string, error)
- func GetByte(url, refer string, headers map[string]string) ([]byte, error)
- func Headers(url, refer string) (http.Header, error)
- func Request(method, url string, body io.Reader, headers map[string]string) (*http.Response, error)
- func SetOptions(opt Options)
- func Size(url, refer string) (int64, error)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContentType ¶
ContentType get Content-Type of the url
Types ¶
Click to show internal directories.
Click to hide internal directories.