Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request interface { DisableLog() Request Option(fn RequestFunc) Request Get(url string) (*response, error) Post(url string, data any) (*response, error) PostJson(url string, data any) (*response, error) Put(url string, data any) (*response, error) PutJson(url string, data any) (*response, error) Delete(url string) (*response, error) Do() (*response, error) }
func NewDefault ¶
type RequestFunc ¶
type RequestFunc func(*resty.Request)
Click to show internal directories.
Click to hide internal directories.