Documentation
¶
Index ¶
- func Get(url string) (*http.Response, error)
- func GetByte(url string) ([]byte, error)
- func GetByteWithBearerToken(url, token string) ([]byte, error)
- func GetJSONStr(source string) (string, error)
- func GetWithBearerToken(url string, token string) (*http.Response, error)
- func IsValidURL(url string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetByteWithBearerToken ¶
GetByteWithBearerToken sends a GET request to the specified URL with a Bearer token for authorization.
func GetJSONStr ¶
func IsValidURL ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.