Versions in this module Expand all Collapse all v0 v0.188.3 Jan 15, 2024 v0.94.0 Jan 15, 2024 Changes in this version + var DefaultTimeoutOptions = TimeoutOptions + var PluginSecureSocksProxyAllowInsecure = "GF_SECURE_SOCKS_DATASOURCE_PROXY_ALLOW_INSECURE" + var PluginSecureSocksProxyClientCert = "GF_SECURE_SOCKS_DATASOURCE_PROXY_CLIENT_CERT" + var PluginSecureSocksProxyClientKey = "GF_SECURE_SOCKS_DATASOURCE_PROXY_CLIENT_KEY" + var PluginSecureSocksProxyEnabled = "GF_SECURE_SOCKS_DATASOURCE_PROXY_SERVER_ENABLED" + var PluginSecureSocksProxyProxyAddress = "GF_SECURE_SOCKS_DATASOURCE_PROXY_PROXY_ADDRESS" + var PluginSecureSocksProxyRootCACert = "GF_SECURE_SOCKS_DATASOURCE_PROXY_ROOT_CA_CERT" + var PluginSecureSocksProxyServerName = "GF_SECURE_SOCKS_DATASOURCE_PROXY_SERVER_NAME" + func SecureSocksProxyEnabledOnDS(jsonData map[string]interface{}) bool + type AuthOptions struct + Password string + Username string + type Client interface + ConfigureSecureSocksHTTPProxy func(transport *http.Transport) error + NewSecureSocksProxyContextDialer func() (proxy.Dialer, error) + SecureSocksProxyEnabled func() bool + func New(opts *Options) Client + type ClientCfg struct + AllowInsecure bool + ClientCert string + ClientKey string + ProxyAddress string + RootCA string + ServerName string + type Options struct + Auth *AuthOptions + ClientCfg *ClientCfg + Enabled bool + Timeouts *TimeoutOptions + type TimeoutOptions struct + KeepAlive time.Duration + Timeout time.Duration