Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var OnAskAccept = func(to, from []*tunnel.SectionInfo) int { return tunnel.AcceptorDecisionAccept }
View Source
var OnAskReroute = func() bool { return false }
View Source
var OnPaidUpdate = func(paid tlb.Coins) {}
View Source
var OnTunnel = func(addr string) {}
View Source
var OnTunnelStopped = func() {}
Functions ¶
func RunProxy ¶ added in v1.7.0
func RunProxy(closerCtx context.Context, addr string, adnlKey ed25519.PrivateKey, res chan<- State, versionAndDevice string, blockHttp bool, netConfigPath string, tunCfg *tunnelConfig.ClientConfig, customTunNetCfg *liteclient.GlobalConfig) error
func RunProxyWithConfig ¶ added in v1.7.0
func RunProxyWithConfig(closerCtx context.Context, addr string, adnlKey ed25519.PrivateKey, res chan<- State, blockHttp bool, versionAndDevice string, lsCfg *liteclient.GlobalConfig, tunCfg *tunnelConfig.ClientConfig, customTunNetCfg *liteclient.GlobalConfig) error
Types ¶
Click to show internal directories.
Click to hide internal directories.