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 ¶
type Request struct {
// contains filtered or unexported fields
}
func (*Request) HTTPParams ¶
Click to show internal directories.
Click to hide internal directories.