Documentation
¶
Index ¶
- type Opt
- func Debug(debug bool) Opt
- func WithAccept(accept string) Opt
- func WithAuthSchema(scheme string) Opt
- func WithAuthToken(authToken string) Opt
- func WithBaseURL(baseURL string) Opt
- func WithContentType(contentType string) Opt
- func WithHeader(k, v string) Opt
- func WithRequestMiddleware(middleware func(*resty.Client, *resty.Request) error) Opt
- func WithResponseMiddleware(middleware func(*resty.Client, *resty.Response) error) Opt
- func WithRetryCount(count int) Opt
- func WithTimeout(timeout time.Duration) Opt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Opt ¶
func WithAccept ¶
func WithAuthSchema ¶
func WithAuthToken ¶
func WithBaseURL ¶
func WithContentType ¶
func WithHeader ¶
func WithRequestMiddleware ¶
func WithResponseMiddleware ¶
func WithRetryCount ¶
func WithTimeout ¶
Click to show internal directories.
Click to hide internal directories.