package
0.57.0
Repository: https://github.com/grafana/k6.git
Documentation: pkg.go.dev

# Packages

Package httpext provides extensions to the standard net/http package.

# Functions

NewDialer constructs a new Dialer with the given DNS resolver.
NewResolver returns a new DNS resolver.
ParseTLSConnState parses tls.ConnectionState and returns TLS and OCSP details.

# Constants

nolint:golint,revive,stylecheck // we want to keep these constants as they are.
nolint:golint,revive,stylecheck // we want to keep these constants as they are.
nolint:golint,revive,stylecheck // we want to keep these constants as they are.
nolint:golint,revive,stylecheck // we want to keep these constants as they are.
nolint:golint,revive,stylecheck // we want to keep these constants as they are.
nolint:golint,revive,stylecheck // we want to keep these constants as they are.
nolint:golint,revive,stylecheck // we want to keep these constants as they are.
nolint:golint,revive,stylecheck // we want to keep these constants as they are.
nolint:golint,revive,stylecheck // we want to keep these constants as they are.
nolint:golint,revive,stylecheck // we want to keep these constants as they are.
nolint:golint,revive,stylecheck // we want to keep these constants as they are.
nolint:golint,revive,stylecheck // we want to keep these constants as they are.
nolint:golint,revive,stylecheck // we want to keep these constants as they are.
nolint:golint,revive,stylecheck // we want to keep these constants as they are.
nolint:golint,revive,stylecheck // we want to keep these constants as they are.
nolint:golint,revive,stylecheck // we want to keep these constants as they are.
nolint:golint,revive,stylecheck // we want to keep these constants as they are.
nolint:golint,revive,stylecheck // we want to keep these constants as they are.

# Structs

BlackListedIPError is an error that is returned when a given IP is blacklisted.
BlockedHostError is returned when a given hostname is blocked.
Conn wraps net.Conn and keeps track of sent and received data size.
Dialer wraps net.Dialer and provides k6 specific functionality - tracing, blacklists and DNS cache and aliases.
OCSP keeps Online Certificate Status Protocol (OCSP) details.
TLSInfo keeps TLS details.

# Interfaces

Resolver is an interface that returns DNS information about a given host.

# Type aliases

MultiResolver returns all IP addresses for the given host.