apisix-dashboard
apisix-dashboard copied to clipboard
excuse,how to do the fuzzy search of routing in the apisix-dashboard
请问dashboard中路由的模糊搜索是怎么做的呢,是后台程序自己做的循环正则匹配etcd中的值吗
@nic-chen 大佬可以帮解惑一下吗
hi @StretchV
The Manager API loops to match the values in cache (from ETCD), but it is not a regular match. For the detail, please see: https://github.com/apache/apisix-dashboard/blob/master/api/internal/core/store/store.go#L187-L195 https://github.com/apache/apisix-dashboard/blob/master/api/internal/handler/route/route.go#L222-L239
感谢