Documentation ¶
Overview ¶
Package proxysrv provides a proxy server for Kite.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port int Rules []string RuleFiles []string RuleDirs []string GlobalVars map[string]string }
Config struct
type ProxyRule ¶
type ProxyRule struct { Name string // id name Group string Index int // index in rules Sort int // sort number // Protocol name of rule. http, https, ws, wss, file, ... Protocol string // Pattern from host or path Pattern string // Operate dist host or path Operate string // Config for the rule Config map[string]string }
ProxyRule definition
Click to show internal directories.
Click to hide internal directories.