Documentation
¶
Index ¶
- func BytesToString(b []byte) (s string)
- func EscapeBytes(bytesArray []byte) []byte
- func HTTPPost(url string, payload interface{}) (*http.Response, func(), error)
- func HTTPPut(url string, payload interface{}) (*http.Response, func(), error)
- func HTTPReadBody(resp *http.Response) string
- func StringToBytes(s string) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToString ¶
BytesToString casts slice to string without copy
func EscapeBytes ¶
EscapeBytes used to escape the literal byte.
func HTTPReadBody ¶
func StringToBytes ¶
StringToBytes casts string to slice without copy
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.