transports

package
v0.0.0-...-21adeaf Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: BSD-2-Clause, BSD-3-Clause Imports: 15 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 ParseArgsDust

func ParseArgsDust(args map[string]interface{}, target string) (*Dust.Transport, error)

func ParseArgsMeeklite

func ParseArgsMeeklite(args map[string]interface{}, target string) (*meeklite.Transport, error)

func ParseArgsObfs4

func ParseArgsObfs4(args map[string]interface{}, target string, dialer proxy.Dialer) (*obfs4.Transport, error)

func ParseArgsOptimizer

func ParseArgsOptimizer(args map[string]interface{}, dialer proxy.Dialer) (*Optimizer.Client, error)

func ParseArgsReplicant

func ParseArgsReplicant(args map[string]interface{}, target string) (*replicant.Transport, error)

func ParseArgsShadow

func ParseArgsShadow(args map[string]interface{}, target string) (*shadow.Transport, error)

func ParseReplicantConfig

func ParseReplicantConfig(args map[string]interface{}) (*replicant.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