mirror of
https://github.com/openziti/ziti.git
synced 2026-09-19 17:15:23 +00:00
d920dbbd93
* 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
15 lines
292 B
Go
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)
|
|
}
|