client

package
v0.0.0-...-cb53757 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "CLIENT"

Variables

This section is empty.

Functions

func GenerateClientTree

func GenerateClientTree(transportPlugin bool, muxEnabled bool, wsEnabled bool, ssEnabled bool, routerEnabled 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"`
}

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