Documentation ¶
Index ¶
- Constants
- func NewAddress() string
- func NewHeaderKey() string
- func NewHeaderValue() string
- func NewHost() net.IP
- func NewHostAndPort() string
- func NewMethod() string
- func NewParameterKey() string
- func NewParameterValue() string
- func NewPath() string
- func NewPort() int
- func NewRequest() *http.Request
- func NewScheme() string
- func NewStatusCode() int
- func NewTimeout() int
- func NewURL() *url.URL
- func NewURLString() string
- func NewUserAgent() string
- func RandomHeader() http.Header
- func RandomHeaderKey() string
- func RandomHeaderValue() string
- func RandomPathPart() string
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 NewHostAndPort ¶
func NewHostAndPort() string
func NewParameterKey ¶
func NewParameterKey() string
func NewParameterValue ¶
func NewParameterValue() string
func NewRequest ¶
func NewStatusCode ¶
func NewStatusCode() int
func NewTimeout ¶
func NewTimeout() int
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 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.
Click to show internal directories.
Click to hide internal directories.