Documentation ¶
Index ¶
- type Request
- func (r *Request) Addr(addr string) *Request
- func (r *Request) Body(content []byte) *Request
- func (r *Request) Do() (*Response, error)
- func (r *Request) HTTP() *Request
- func (r *Request) HTTPHeaders(headers map[string]string) *Request
- func (r *Request) HTTPHost(host string) *Request
- func (r *Request) HTTPParams(method, host, path string, headers map[string]string) *Request
- func (r *Request) HTTPPath(path string) *Request
- func (r *Request) HTTPS() *Request
- func (r *Request) Port(port int) *Request
- func (r *Request) Protocol(protocol string) *Request
- func (r *Request) Proxy(url string) *Request
- func (r *Request) TCP() *Request
- func (r *Request) TLSConfig(tlsConfig *tls.Config) *Request
- func (r *Request) Timeout(timeout time.Duration) *Request
- func (r *Request) UDP() *Request
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶ added in v0.37.0
type Request struct {
// contains filtered or unexported fields
}
func (*Request) HTTPHeaders ¶ added in v0.37.1
func (*Request) HTTPParams ¶ added in v0.37.1
Click to show internal directories.
Click to hide internal directories.