Documentation
¶
Index ¶
- Constants
- func Delete(uri string, data any, res any, headers ...http.Header) (int, error)
- func Execute(uri string, method Method, data any, res any, headers ...http.Header) (int, error)
- func Get(uri string, res any, headers ...http.Header) error
- func Post(uri string, data any, res any, headers ...http.Header) (int, error)
- func Put(uri string, data any, res any, headers ...http.Header) (int, error)
- func SetClient(c *http.Client)
- type Method
Constants ¶
View Source
const ( MethodGet Method = "GET" MethodPost = "POST" MethodPut = "PUT" MethodDelete = "DELETE" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.