Versions in this module Expand all Collapse all v1 v1.0.0 Apr 9, 2022 Changes in this version + type Request struct + func New() *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 struct + Code int + Content []byte + Header http.Header