proxy

package
v0.0.0-kmdagger2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSecureSocksHTTPProxy

func NewSecureSocksHTTPProxy(cfg *setting.SecureSocksDSProxySettings, transport *http.Transport) error

NewSecureSocksHTTPProxy takes a http.DefaultTransport and wraps it in a socks5 proxy with TLS

func NewSecureSocksProxyContextDialer

func NewSecureSocksProxyContextDialer(cfg *setting.SecureSocksDSProxySettings) (proxy.Dialer, error)

NewSecureSocksProxyContextDialer returns a proxy context dialer that will wrap connections in a secure socks proxy

func SecureSocksProxyEnabledOnDS

func SecureSocksProxyEnabledOnDS(opts sdkhttpclient.Options) bool

SecureSocksProxyEnabledOnDS checks the datasource json data to see if the secure socks proxy is enabled on it

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL