Documentation
¶
Index ¶
- Variables
- func IsPublicIP(ip netip.Addr) bool
- func NewClient(endpoint string, options Options) (*http.Client, error)
- func ValidateEndpoint(endpoint string, options Options) (*url.URL, error)
- func WithTimeout(client *http.Client, timeout time.Duration) (*http.Client, error)
- type Options
- type PrivateRoute
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDestination = errors.New("connection destination is not permitted")
View Source
var ErrRequest = errors.New("request is outside the connection boundary")
Functions ¶
func IsPublicIP ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.