Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Inbounds Inbounds `json:"inbounds,omitempty"` // 入站代理 Outbounds []*YeagerClient `json:"outbounds,omitempty"` // 出站代理 Rules []string `json:"rules,omitempty"` // 路由规则 // verbose logging Verbose bool `json:"verbose,omitempty` // 如何预估连接池大小,参考 proxy/yeager/transport/grpc/pool.go ConnectionPoolSize int `json:"connectionPoolSize,omitempty"` // expose runtime metrics for debugging and profiling, developers only Debug bool `json:"debug,omitempty"` }
type Inbounds ¶
type Inbounds struct { SOCKS *struct { Listen string `json:"listen"` } `json:"socks,omitempty"` HTTP *struct { Listen string `json:"listen"` } `json:"http,omitempty"` Yeager *YeagerServer `json:"yeager,omitempty"` }
type YeagerClient ¶
type YeagerServer ¶
Click to show internal directories.
Click to hide internal directories.