http

package
v1.32.2-hotfix.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2020 License: BSD-2-Clause Imports: 9 Imported by: 1

Documentation

Index

Constants

View Source
const (
	CharsetPath  = test.CharsetAlphaNumeric + "_"
	CharsetName  = test.CharsetAlphaNumeric + "_-"
	CharsetValue = test.CharsetAlphaNumeric + "_-"
)

Variables

This section is empty.

Functions

func NewAddress

func NewAddress() string

func NewHeaderKey

func NewHeaderKey() string

func NewHeaderValue

func NewHeaderValue() string

func NewHost

func NewHost() net.IP

func NewHostAndPort

func NewHostAndPort() string

func NewMethod

func NewMethod() string

func NewParameterKey

func NewParameterKey() string

func NewParameterValue

func NewParameterValue() string

func NewPath

func NewPath() string

func NewPort

func NewPort() int

func NewRequest

func NewRequest() *http.Request

func NewScheme

func NewScheme() string

func NewStatusCode

func NewStatusCode() int

func NewTimeout

func NewTimeout() int

func NewURL

func NewURL() *url.URL

func NewURLString added in v1.26.0

func NewURLString() string

func NewUserAgent added in v1.22.0

func NewUserAgent() string

func RandomHeader added in v1.31.0

func RandomHeader() http.Header

func RandomHeaderKey added in v1.31.0

func RandomHeaderKey() string

func RandomHeaderValue added in v1.31.0

func RandomHeaderValue() string

func RandomPathPart added in v1.31.0

func RandomPathPart() string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL