Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller of Gateway-Proxy
type HTTPConfig ¶
type HTTPConfig struct { Addr string // 监听地址 HTTPS *TLS // 启用 HTTPS BasicAuth *BasicAuth // 启用 Basic 认证 // 连接配置 Proxy func(*http.Request) (*url.URL, error) // can use http.ProxyFromEnvironment DialContext func(ctx context.Context, network, addr string) (net.Conn, error) }
HTTPConfig for Gateway
Click to show internal directories.
Click to hide internal directories.