Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseConfig ¶
func ParseConfig(ctx context.Context, yamlNode smart.YAMLNode) (transport.StreamDialer, string, error)
ParseConfig creates the Psiphon StreamDialer from a config.
func RegisterFallbackParser ¶
func RegisterFallbackParser(opts *mobileproxy.SmartDialerOptions, name string)
RegisterFallbackParser registers the Psiphon config parser as a fallback parser for the given name (usually "psiphon"). This function is a convenience wrapper around opts.RegisterFallbackParser that is compatible with Go Mobile.
Parameters: * opts - the SmartDialerOptions to register the parser with * name - the name under which to register the fallback parser
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.