Versions in this module Expand all Collapse all v1 v1.1.0 Jun 14, 2025 Changes in this version + func BuildURL(baseURL string, queryParams map[string]string) (string, error) + func CreateHTTPClient(timeout time.Duration, maxIdleConns, maxIdleConnsPerHost, maxConnsPerHost int) *http.Client + func DeleteJSON(urlStr string, target any, headers map[string]string) error + func DownloadFile(urlStr string, timeout int) ([]byte, error) + func GetJSON(urlStr string, target any, headers map[string]string) error + func IsSuccessStatusCode(statusCode int) bool + func ParseQueryParams(queryString string) (map[string]string, error) + func PostJSON(urlStr string, body, target any, headers map[string]string) error + func PutJSON(urlStr string, body, target any, headers map[string]string) error + func UploadFile(urlStr, fieldName, filePath string, ...) (*http.Response, error)