client

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "CLIENT"

Variables

This section is empty.

Functions

func GenerateClientTree

func GenerateClientTree(transportPlugin, muxEnabled, wsEnabled, ssEnabled, routerEnabled, folivEnabled, dnsEnabled bool) []string

GenerateClientTree generate general outbound protocol stack

Types

type Config

type Config struct {
	Mux             MuxConfig             `json:"mux" yaml:"mux"`
	Websocket       WebsocketConfig       `json:"websocket" yaml:"websocket"`
	Router          RouterConfig          `json:"router" yaml:"router"`
	Shadowsocks     ShadowsocksConfig     `json:"shadowsocks" yaml:"shadowsocks"`
	TransportPlugin TransportPluginConfig `json:"transport_plugin" yaml:"transport-plugin"`
	Foliv           FolivConfig           `json:"foliv" yaml:"foliv"`
	Dns             DnsConfig             `json:"dns" yaml:"dns"`
}

type DnsConfig added in v1.0.1

type DnsConfig struct {
	Enabled bool `json:"enabled" yaml:"enabled"`
}

type FolivConfig

type FolivConfig struct {
	Enabled bool `json:"enabled" yaml:"enabled"`
}

type MuxConfig

type MuxConfig struct {
	Enabled bool `json:"enabled" yaml:"enabled"`
}

type RouterConfig

type RouterConfig struct {
	Enabled bool `json:"enabled" yaml:"enabled"`
}

type ShadowsocksConfig

type ShadowsocksConfig struct {
	Enabled bool `json:"enabled" yaml:"enabled"`
}

type TransportPluginConfig

type TransportPluginConfig struct {
	Enabled bool `json:"enabled" yaml:"enabled"`
}

type WebsocketConfig

type WebsocketConfig struct {
	Enabled bool `json:"enabled" yaml:"enabled"`
}

Jump to

Keyboard shortcuts

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