transports

package
v2.1.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: BSD-2-Clause, BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package transports provides a interface to query supported pluggable transports.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDefaultReplicantClient

func CreateDefaultReplicantClient(target string, dialer proxy.Dialer) *replicant.Transport

func CreateDefaultReplicantServer

func CreateDefaultReplicantServer() replicant.ServerConfig

func ParseArgsDust

func ParseArgsDust(args string, target string, dialer proxy.Dialer) (*Dust.Transport, error)

func ParseArgsMeeklite

func ParseArgsMeeklite(args string, target string, dialer proxy.Dialer) (*meeklite.Transport, error)

func ParseArgsObfs4

func ParseArgsObfs4(args string, target string, dialer proxy.Dialer) (*obfs4.Transport, error)

func ParseArgsOptimizer

func ParseArgsOptimizer(jsonConfig string, dialer proxy.Dialer) (*Optimizer.Client, error)

func ParseArgsReplicantClient

func ParseArgsReplicantClient(args string, target string, dialer proxy.Dialer) (*replicant.Transport, error)

func ParseArgsReplicantServer

func ParseArgsReplicantServer(args string) (*replicant.ServerConfig, error)

target string, dialer proxy.Dialer

func ParseArgsShadow

func ParseArgsShadow(args string, target string, dialer proxy.Dialer) (*shadow.Transport, error)

func ParseArgsShadowServer

func ParseArgsShadowServer(args string) (*shadow.Config, error)

func Transports

func Transports() []string

Transports returns the list of registered transport protocols.

Types

This section is empty.

Jump to

Keyboard shortcuts

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