Documentation ¶ Index ¶ func GETBytes(url string) (body []byte, err error) func GETJson[T any](url string) (T, error) func GETString(url string) (string, error) func GetDefaultUA() string func NewGetJsonRequest(url string, body io.Reader) (*http.Request, error) func SetDefaultUA(ua string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GETBytes ¶ added in v0.0.16 func GETBytes(url string) (body []byte, err error) func GETJson ¶ added in v0.0.16 func GETJson[T any](url string) (T, error) func GETString ¶ added in v0.0.16 func GETString(url string) (string, error) func GetDefaultUA ¶ func GetDefaultUA() string func NewGetJsonRequest ¶ func NewGetJsonRequest(url string, body io.Reader) (*http.Request, error) func SetDefaultUA ¶ func SetDefaultUA(ua string) Types ¶ This section is empty. Source Files ¶ View all Source files http.go Click to show internal directories. Click to hide internal directories.