Documentation ¶
Index ¶
- func BuildReq(url string, method string, body io.Reader, head map[string]string) *http.Request
- func Req(url string, method string, body io.Reader, head map[string]string, ...) ([]byte, error)
- func Req2GetReader(url string, method string, body io.Reader, head map[string]string, ...) (io.ReadCloser, error)
- func ToRequest(req *http.Request, opts ...Option) (io.ReadCloser, error)
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Req2GetReader ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.