[client] Enable userspace forwarder conditionally (#3309)

* Enable userspace forwarder conditionally

* Move disable/enable logic
This commit is contained in:
Viktor Liu
2025-02-12 11:10:49 +01:00
committed by GitHub
parent 18f84f0df5
commit b41de7fcd1
7 changed files with 145 additions and 54 deletions

View File

@ -101,6 +101,10 @@ type Manager interface {
Flush() error
SetLogLevel(log.Level)
EnableRouting() error
DisableRouting() error
}
func GenKey(format string, pair RouterPair) string {