refactor(entrypoint): rename shortLinkTree to shortLinkMatcher

This commit is contained in:
yusing
2026-02-01 10:00:04 +08:00
parent fb96a2a4f1
commit 0a2df3b9e3
2 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ type ShortLinkMatcher struct {
subdomainRoutes *xsync.Map[string, struct{}]
}
func newShortLinkTree() *ShortLinkMatcher {
func newShortLinkMatcher() *ShortLinkMatcher {
return &ShortLinkMatcher{
fqdnRoutes: xsync.NewMap[string, string](),
subdomainRoutes: xsync.NewMap[string, struct{}](),