Documentation ¶
Index ¶
- type Agent
- type Binder
- type Option
- func WithAfterRequest(fn func(req *resty.Request) error) Option
- func WithRequestBody(body any) Option
- func WithRequestHeader(h map[string]string) Option
- func WithRequestInjector(fn func(req *resty.Request) error) Option
- func WithResponseFilter(fn func(resp *resty.Response) (data []byte, err error)) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
func (*Agent) SetAccepter ¶
Click to show internal directories.
Click to hide internal directories.