package
0.0.0-20200708083719-628bc1969d8c
Repository: https://github.com/gsakun/pkg.git
Documentation: pkg.go.dev
# Functions
GetServiceEndpoint gets the endpoint IP or hostname to use for the service.
New returns a SpoofingClient that rewrites requests if the target domain is not `resolveable`.
# Structs
Response is a stripped down subset of http.Response.
SpoofingClient is a minimal http client wrapper that spoofs the domain of requests for non-resolvable domains.
# Interfaces
Interface defines the actions that can be performed by the spoofing client.
# Type aliases
ResponseChecker is used to determine when SpoofinClient.Poll is done polling.