Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶ added in v0.7.1
type TCP ¶
type TCP struct { Routers map[string]Router `cfg:"routers"` Middlewares map[string]TCPMiddleware `cfg:"middlewares"` }
type TCPMiddleware ¶
type TCPMiddleware struct { RedirectMiddleware *redirect.Redirect `cfg:"redirect"` Socks5Middleware *socks5.Socks5 `cfg:"socks5"` IPAllowListMiddleware *ipallowlist.IPAllowList `cfg:"ip_allow_list"` }
Click to show internal directories.
Click to hide internal directories.