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 HttpGetRaw(client *http.Client, URL, contentType string, authorization string) ([]byte, error)
- func HttpGetRawWithHeaders(client *http.Client, URL string, headers map[string]string) ([]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 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 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 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 Index(items interface{}, item interface{}) int
- func IsEmpty(v interface{}) bool
- func MapGetKeyValues(s 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 HttpGetRaw ¶ added in v0.3.0
func HttpGetRawWithHeaders ¶ added in v0.3.0
func HttpPostRaw ¶ added in v0.3.0
func HttpPostRawOutCode ¶ added in v0.3.0
func HttpPostRawWithHeaders ¶ added in v0.3.0
func HttpPostRawWithHeadersOutCode ¶ added in v0.3.0
func HttpPutRaw ¶ added in v0.3.0
func HttpPutRawWithHeaders ¶ added in v0.3.0
func HttpRequestRawWithHeaders ¶ added in v0.3.0
func HttpRequestRawWithHeadersOutCode ¶ added in v0.3.0
func MapGetKeyValues ¶
func MapToArray ¶
func NewHttpInsecureClient ¶
func NewHttpSecureClient ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.