optimize createRuleKey func (#240)

Signed-off-by: charlie <qianglin98@qq.com>
This commit is contained in:
Qianglin Li
2023-03-09 17:19:16 +08:00
committed by GitHub
parent f58f977f80
commit d99042747b
6 changed files with 112 additions and 80 deletions

View File

@@ -150,7 +150,7 @@ type ConvertOptions struct {
IngressDomainCache *IngressDomainCache
// the host, path, headers, params of rule => ingress
Route2Ingress map[uint32]*WrapperConfigWithRuleKey
Route2Ingress map[string]*WrapperConfigWithRuleKey
// Record valid/invalid routes from ingress
IngressRouteCache *IngressRouteCache