Documentation
¶
Index ¶
- func CallerGetInfo(offset int) (string, string, int)
- func Contains(items interface{}, item interface{}) bool
- func Content(contentOrPath string) ([]byte, error)
- func DirExists(path string) bool
- func EnvGet(key string, defaultValue interface{}) interface{}
- func FileExists(path string) bool
- func GoRoutineID() uint64
- func HttpDeleteRaw(client *http.Client, URL, contentType string, authorization string, raw []byte) ([]byte, error)
- func HttpDeleteRawWithHeaders(client *http.Client, URL string, headers map[string]string, raw []byte) ([]byte, error)
- func HttpGetHeader(client *http.Client, URL string) (map[string][]string, error)
- func HttpGetRaw(client *http.Client, URL, contentType string, authorization string) ([]byte, error)
- func HttpGetRawRetry(client *http.Client, URL, contentType string, authorization string, ...) ([]byte, error)
- func HttpGetRawWithHeaders(client *http.Client, URL string, headers map[string]string) ([]byte, error)
- func HttpGetRawWithHeadersRetry(client *http.Client, URL string, headers map[string]string, maxRetries int, ...) ([]byte, error)
- func HttpPatchRaw(client *http.Client, URL, contentType string, authorization string, raw []byte) ([]byte, error)
- func HttpPatchRawWithHeaders(client *http.Client, URL string, headers map[string]string, raw []byte) ([]byte, error)
- func HttpPostRaw(client *http.Client, URL, contentType string, authorization string, raw []byte) ([]byte, error)
- func HttpPostRawOutCode(client *http.Client, URL, contentType string, authorization string, raw []byte) (body []byte, code int, err error)
- func HttpPostRawRetry(client *http.Client, URL, contentType string, authorization string, raw []byte, ...) ([]byte, error)
- func HttpPostRawWithHeaders(client *http.Client, URL string, headers map[string]string, raw []byte) ([]byte, error)
- func HttpPostRawWithHeadersOutCode(client *http.Client, URL string, headers map[string]string, raw []byte) (body []byte, code int, err error)
- func HttpPostRawWithHeadersRetry(client *http.Client, URL string, headers map[string]string, raw []byte, ...) ([]byte, error)
- func HttpPutRaw(client *http.Client, URL, contentType string, authorization string, raw []byte) ([]byte, error)
- func HttpPutRawWithHeaders(client *http.Client, URL string, headers map[string]string, raw []byte) ([]byte, error)
- func HttpRequestGetHeader(client *http.Client, URL string) (header map[string][]string, err error)
- func HttpRequestRawWithHeaders(client *http.Client, method, URL string, headers map[string]string, raw []byte) ([]byte, error)
- func HttpRequestRawWithHeadersOutCode(client *http.Client, method, URL string, headers map[string]string, raw []byte) (body []byte, code int, err error)
- func HttpRequestRawWithHeadersOutCodeSilent(client *http.Client, method, URL string, headers map[string]string, raw []byte) (body []byte, code int, err error)
- func HttpRequestRawWithHeadersRetry(client *http.Client, method, URL string, headers map[string]string, raw []byte, ...) ([]byte, error)
- func HttpRequestRawWithRetry(client *http.Client, method, URL string, headers map[string]string, raw []byte, ...) (body []byte, code int, err error)
- func Index(items interface{}, item interface{}) int
- func IsEmpty(v interface{}) bool
- func MapGetKeyValues(s string) map[string]string
- func MapGetKeyValuesEx(s, sequenceDelim, keyValueDelim string) map[string]string
- func MapToArray(m map[string]string) []string
- func MapToArrayWithSeparator(m map[string]string, s string) []string
- func NewHttpClient(timeout int, insecure bool) *http.Client
- func NewHttpInsecureClient(timeout int) *http.Client
- func NewHttpSecureClient(timeout int) *http.Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶ added in v0.1.6
func GoRoutineID ¶ added in v0.2.2
func GoRoutineID() uint64
func HttpDeleteRaw ¶ added in v0.3.2
func HttpDeleteRawWithHeaders ¶ added in v0.3.2
func HttpGetHeader ¶ added in v0.4.6
func HttpGetRaw ¶ added in v0.3.0
func HttpGetRawRetry ¶ added in v0.4.7
func HttpGetRawWithHeaders ¶ added in v0.3.0
func HttpGetRawWithHeadersRetry ¶ added in v0.4.7
func HttpPatchRaw ¶ added in v0.4.8
func HttpPatchRawWithHeaders ¶ added in v0.4.8
func HttpPostRaw ¶ added in v0.3.0
func HttpPostRawOutCode ¶ added in v0.3.0
func HttpPostRawRetry ¶ added in v0.4.7
func HttpPostRawWithHeaders ¶ added in v0.3.0
func HttpPostRawWithHeadersOutCode ¶ added in v0.3.0
func HttpPostRawWithHeadersRetry ¶ added in v0.4.7
func HttpPutRaw ¶ added in v0.3.0
func HttpPutRawWithHeaders ¶ added in v0.3.0
func HttpRequestGetHeader ¶ added in v0.4.6
func HttpRequestRawWithHeaders ¶ added in v0.3.0
func HttpRequestRawWithHeadersOutCode ¶ added in v0.3.0
func HttpRequestRawWithHeadersOutCodeSilent ¶ added in v0.4.7
func HttpRequestRawWithHeadersRetry ¶ added in v0.4.7
func HttpRequestRawWithRetry ¶ added in v0.4.7
func MapGetKeyValues ¶
func MapGetKeyValuesEx ¶ added in v0.4.4
func MapToArray ¶
func NewHttpInsecureClient ¶
func NewHttpSecureClient ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.