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 resty.RequestMiddleware) Opt
- func WithResponseMiddleware(middleware resty.ResponseMiddleware) 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 WithRequestMiddleware(middleware resty.RequestMiddleware) Opt
func WithResponseMiddleware ¶
func WithResponseMiddleware(middleware resty.ResponseMiddleware) Opt
func WithRetryCount ¶
func WithTimeout ¶
Click to show internal directories.
Click to hide internal directories.