Documentation ¶
Index ¶
- func DeleteReverseProxyRuleListlice(a []reverseproxyconf.ReverseProxyRule, deleteIndex int) []reverseproxyconf.ReverseProxyRule
- func EnableReverseProxyRuleByKey(ruleKey string, enable bool) error
- func EnableReverseProxySubRule(ruleKey, proxyKey string, enable bool) error
- func EnableRuleByKey(key string, enable bool) error
- func GetAccessLogs(ruleKey, proxyKey string, pageSize, page int) (int, []any)
- func GetProxyRuleListInfo() *[]RuleInfo
- func GetReverseProxyRuleByKey(ruleKey string) *reverseproxyconf.ReverseProxyRule
- func GetReverseProxyRuleList() []*reverseproxyconf.ReverseProxyRule
- func GetSubRuleByKey(ruleKey, proxyKey string) *reverseproxyconf.SubReverProxyRule
- func InitReverseProxyServer()
- func ReverseProxyRuleListAdd(rule *reverseproxyconf.ReverseProxyRule) error
- func ReverseProxyRuleListDelete(ruleKey string) error
- func TidyReverseProxyCache()
- func UpdateReverseProxyRulet(rule reverseproxyconf.ReverseProxyRule) error
- type RuleInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteReverseProxyRuleListlice ¶
func DeleteReverseProxyRuleListlice(a []reverseproxyconf.ReverseProxyRule, deleteIndex int) []reverseproxyconf.ReverseProxyRule
func EnableRuleByKey ¶
func GetProxyRuleListInfo ¶
func GetProxyRuleListInfo() *[]RuleInfo
func GetReverseProxyRuleByKey ¶
func GetReverseProxyRuleByKey(ruleKey string) *reverseproxyconf.ReverseProxyRule
func GetReverseProxyRuleList ¶
func GetReverseProxyRuleList() []*reverseproxyconf.ReverseProxyRule
func GetSubRuleByKey ¶
func GetSubRuleByKey(ruleKey, proxyKey string) *reverseproxyconf.SubReverProxyRule
func InitReverseProxyServer ¶
func InitReverseProxyServer()
func ReverseProxyRuleListAdd ¶
func ReverseProxyRuleListAdd(rule *reverseproxyconf.ReverseProxyRule) error
func UpdateReverseProxyRulet ¶
func UpdateReverseProxyRulet(rule reverseproxyconf.ReverseProxyRule) error
Types ¶
type RuleInfo ¶
type RuleInfo struct { reverseproxyconf.ReverseProxyRule AccessLogs map[string][]any }
Click to show internal directories.
Click to hide internal directories.