psiphon

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

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