Documentation ¶
Index ¶
- func Delete(endpoint string, token string, url string, header http.Header, ...) (jsonutils.JSONObject, error)
- func Get(endpoint string, token string, url string, header http.Header, ...) (jsonutils.JSONObject, error)
- func GetDefaultHeader(header http.Header, token string) http.Header
- func JSONRequest(endpoint string, token string, method string, url string, header http.Header, ...) (jsonutils.JSONObject, error)
- func JoinUrl(baseUrl, path string) string
- func Post(endpoint string, token string, url string, header http.Header, ...) (jsonutils.JSONObject, error)
- func Put(endpoint string, token string, url string, header http.Header, ...) (jsonutils.JSONObject, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(endpoint string, token string, url string, header http.Header, body jsonutils.JSONObject) (jsonutils.JSONObject, error)
func Get ¶
func Get(endpoint string, token string, url string, header http.Header, body jsonutils.JSONObject) (jsonutils.JSONObject, error)
func JSONRequest ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.