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 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"`
}
Click to show internal directories.
Click to hide internal directories.