Documentation
¶
Index ¶
- func GetBytes(client *HttpClient, body any) ([]byte, error)
- func GetJSON[T any](client *HttpClient, body any) (T, error)
- func GetText(client *HttpClient, body any) (string, error)
- func JoinURL(pBaseURL string, pQueryParams StrMap) (string, error)
- func URLEncode(input string) string
- type HttpClient
- type StrMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBytes ¶
func GetBytes(client *HttpClient, body any) ([]byte, error)
HttpGetBinary makes an HTTP GET request to the specified client.BaseURL with query parameters from client.QueryParams and returns the binary data from the response.
Types ¶
type HttpClient ¶
Click to show internal directories.
Click to hide internal directories.