Documentation
¶
Index ¶
- func ConnectionChecker(url string) error
- func ConvertFromJsonToStruct[responseType any](jsonString string) (responseType, error)
- func ConvertFromStructToJsonString(alert interface{}) (string, error)
- func DoParseReq[response any](url string, data []byte, method string, headers map[string]string, ...) (response, int, error)
- func DoReq(url string, data []byte, method string, headers map[string]string, ...) ([]byte, int, error)
- type RequestOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectionChecker ¶
ConnectionChecker verifies connectivity to a URL with exponential backoff
func ConvertFromJsonToStruct ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.