Documentation ¶
Index ¶
- func WithAllowRedirects(allowRedirects bool) fakeArgs
- func WithHeaders(headers map[string]string) fakeArgs
- func WithJson(json map[string]interface{}) fakeArgs
- func WithParams(params map[string]string) fakeArgs
- func WithTimeout(timeout time.Duration) fakeArgs
- func WithVerify(verify bool) fakeArgs
- type Resp
- func Delete(url string, arg ...fakeArgs) (*Resp, error)
- func Get(url string, arg ...fakeArgs) (*Resp, error)
- func Options(url string, arg ...fakeArgs) (*Resp, error)
- func Patch(url string, arg ...fakeArgs) (*Resp, error)
- func Post(url string, arg ...fakeArgs) (*Resp, error)
- func Put(url string, arg ...fakeArgs) (*Resp, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAllowRedirects ¶
func WithAllowRedirects(allowRedirects bool) fakeArgs
func WithHeaders ¶
func WithParams ¶
func WithTimeout ¶
func WithVerify ¶
func WithVerify(verify bool) fakeArgs
Types ¶
Click to show internal directories.
Click to hide internal directories.