Documentation
¶
Index ¶
- func HttpDelete(url string, params any, opts ...RequestOption) ([]byte, error)
- func HttpDeleteWith[T RespData](url string, params any, opts ...RequestOption) (T, error)
- func HttpGet(url string, params map[string]string, opts ...RequestOption) ([]byte, error)
- func HttpGetWith[T RespData](url string, params map[string]string, opts ...RequestOption) (T, error)
- func HttpPost(url string, params any, opts ...RequestOption) ([]byte, error)
- func HttpPostWith[T RespData](url string, params any, opts ...RequestOption) (T, error)
- func HttpPut(url string, params any, opts ...RequestOption) ([]byte, error)
- func HttpPutWith[T RespData](url string, params any, opts ...RequestOption) (T, error)
- type RequestOption
- type RespData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HttpDelete ¶
func HttpDelete(url string, params any, opts ...RequestOption) ([]byte, error)
func HttpDeleteWith ¶
func HttpDeleteWith[T RespData](url string, params any, opts ...RequestOption) (T, error)
func HttpGetWith ¶
func HttpPostWith ¶
func HttpPostWith[T RespData](url string, params any, opts ...RequestOption) (T, error)
func HttpPutWith ¶
func HttpPutWith[T RespData](url string, params any, opts ...RequestOption) (T, error)
Types ¶
type RequestOption ¶
Click to show internal directories.
Click to hide internal directories.