Documentation ¶
Overview ¶
Package transports provides a interface to query supported pluggable transports.
Index ¶
- func CreateDefaultReplicantClient(target string, dialer proxy.Dialer) *replicant.Transport
- func CreateDefaultReplicantServer() replicant.ServerConfig
- func ParseArgsDust(args string, target string, dialer proxy.Dialer) (*Dust.Transport, error)
- func ParseArgsMeeklite(args string, target string, dialer proxy.Dialer) (*meeklite.Transport, error)
- func ParseArgsObfs4(args string, target string, dialer proxy.Dialer) (*obfs4.Transport, error)
- func ParseArgsOptimizer(jsonConfig string, dialer proxy.Dialer) (*Optimizer.Client, error)
- func ParseArgsReplicantClient(args string, target string, dialer proxy.Dialer) (*replicant.Transport, error)
- func ParseArgsReplicantServer(args string) (*replicant.ServerConfig, error)
- func ParseArgsShadow(args string, target string, dialer proxy.Dialer) (*shadow.Transport, error)
- func ParseArgsShadowServer(args string) (*shadow.Config, error)
- func Transports() []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDefaultReplicantServer ¶
func CreateDefaultReplicantServer() replicant.ServerConfig
func ParseArgsDust ¶
func ParseArgsMeeklite ¶
func ParseArgsObfs4 ¶
func ParseArgsOptimizer ¶
func ParseArgsReplicantServer ¶
func ParseArgsReplicantServer(args string) (*replicant.ServerConfig, error)
target string, dialer proxy.Dialer
func ParseArgsShadow ¶
func Transports ¶
func Transports() []string
Transports returns the list of registered transport protocols.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.