Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EdgeProxyConfig ¶
type EdgeProxyConfig struct { // Enable indicates whether enable edgeproxy // default false Enable bool `json:"enable,omitempty"` // ListenInterface indicates the listen interface of edgeproxy // do not allow users to configure manually ListenInterface string `json:"listenInterface,omitempty"` // Socks5Proxy indicates the socks5 proxy config Socks5Proxy *Socks5Proxy `json:"socks5Proxy,omitempty"` // NodeName indicates name of host NodeName string `json:"nodeName,omitempty"` }
EdgeProxyConfig indicates the edgeproxy config
func NewEdgeProxyConfig ¶
func NewEdgeProxyConfig() *EdgeProxyConfig
type Socks5Proxy ¶ added in v1.10.0
type Socks5Proxy struct { // Enable indicates whether enable socks5 proxy server // default false Enable bool `json:"enable,omitempty"` // ListenPort indicates the listen port of Socks5Proxy // default 10800 ListenPort int `json:"listenPort,omitempty"` }
Socks5Proxy indicates the socks5 proxy config
Click to show internal directories.
Click to hide internal directories.