mirror of
https://github.com/alibaba/higress.git
synced 2026-05-30 15:47:28 +08:00
support service-level match config (#1112)
This commit is contained in:
8
plugins/wasm-go/pkg/matcher/utils.go
Normal file
8
plugins/wasm-go/pkg/matcher/utils.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package matcher
|
||||
|
||||
func boolToInt(b bool) int {
|
||||
if b {
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
}
|
||||
Reference in New Issue
Block a user