Skip to content
Snippets Groups Projects
Commit 278ee4ad authored by 邹毅贤's avatar 邹毅贤
Browse files

add router chain

parent abb1947f
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ const (
)
var (
routerPatternReg = regexp.MustCompile(ROUTE_PATTERN)
routerPatternReg = regexp.MustCompile(`([&!=,]*)\s*([^&!=,\s]+)`)
)
//ConditionRouter condition router struct
......
......@@ -33,6 +33,7 @@ import (
import (
"github.com/apache/dubbo-go/cluster/cluster_impl"
_ "github.com/apache/dubbo-go/cluster/router"
_ "github.com/apache/dubbo-go/cluster/router/condition"
"github.com/apache/dubbo-go/common"
"github.com/apache/dubbo-go/common/constant"
"github.com/apache/dubbo-go/common/extension"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment