Documentation ¶
Index ¶
- func ConvertToQueryParams(params map[string]interface{}) string
- func ConvertToQueryParamsRepetition(params []QueryParameter) string
- func Delete(url string, params map[string]interface{}, body string, ...) (string, error)
- func DeleteRequest(url string, body string, headerOptions ...HeaderOption) (string, error)
- func Get(url string, params map[string]interface{}, headerOptions ...HeaderOption) (string, error)
- func GetRepetition(url string, params []QueryParameter, headerOptions ...HeaderOption) (string, error)
- func GetRequest(url string, headerOptions ...HeaderOption) (string, error)
- func Patch(url string, params map[string]interface{}, body string, ...) (string, error)
- func PatchRequest(url string, body string, headerOptions ...HeaderOption) (string, error)
- func Post(url string, params map[string]interface{}, body string, ...) (string, error)
- func PostRepetition(url string, params []QueryParameter, body string, ...) (string, error)
- func PostRequest(url string, body string, headerOptions ...HeaderOption) (string, error)
- type HeaderOption
- type QueryParameter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToQueryParams ¶
func ConvertToQueryParamsRepetition ¶
func ConvertToQueryParamsRepetition(params []QueryParameter) string
func DeleteRequest ¶ added in v0.0.3
func DeleteRequest(url string, body string, headerOptions ...HeaderOption) (string, error)
func Get ¶
func Get(url string, params map[string]interface{}, headerOptions ...HeaderOption) (string, error)
func GetRepetition ¶
func GetRepetition(url string, params []QueryParameter, headerOptions ...HeaderOption) (string, error)
func GetRequest ¶
func GetRequest(url string, headerOptions ...HeaderOption) (string, error)
func PatchRequest ¶ added in v0.0.3
func PatchRequest(url string, body string, headerOptions ...HeaderOption) (string, error)
func PostRepetition ¶
func PostRepetition(url string, params []QueryParameter, body string, headerOptions ...HeaderOption) (string, error)
func PostRequest ¶
func PostRequest(url string, body string, headerOptions ...HeaderOption) (string, error)
Types ¶
type HeaderOption ¶
func BuildTokenHeaderOptions ¶
func BuildTokenHeaderOptions(tenantAccessToken string) HeaderOption
type QueryParameter ¶
type QueryParameter struct { Key string Value interface{} }
Click to show internal directories.
Click to hide internal directories.