package
0.0.0-20240927105425-f6cbe64b58da
Repository: https://github.com/gxde-os/golang-gxde-dev.git
Documentation: pkg.go.dev
# Functions
FromEnvironment returns the dialer specified by the proxy related variables in the environment.
FromURL returns a Dialer given a URL specification and an underlying Dialer for it to make network requests.
NewPerHost returns a PerHost Dialer that directs connections to either defaultDialer or bypass, depending on whether the connection matches one of the configured rules.
RegisterDialerType takes a URL scheme and a function to generate Dialers from a URL with that scheme and a forwarding Dialer.
SOCKS5 returns a Dialer that makes SOCKSv5 connections to the given address with an optional username and password.
# Variables
Direct is a direct proxy: one that makes network connections directly.
# Interfaces
A Dialer is a means to establish a connection.