Files
ziti/router/debugops/debugops.go
T
Paul Lorenz d920dbbd93 Fix sync early exit bug. Track new session during sync. Simplify thre… (#686)
* Fix sync early exit bug. Track new session during sync. Simplify threading and tighten up locking. Add dump api-sessions debug operation

* Address review comments. Remove spurious error message. Fix defaultHostingCost/Precedence field names
2021-06-11 14:01:20 -04:00

15 lines
292 B
Go

package debugops
import (
"github.com/openziti/edge/router/fabric"
"github.com/openziti/fabric/router"
)
const (
DumpApiSessions byte = 128
)
func RegisterEdgeRouterDebugOps(router *router.Router, sm fabric.StateManager) {
router.RegisterDebugOp(DumpApiSessions, sm.DumpApiSessions)
}