mirror of
https://github.com/openziti/ziti.git
synced 2026-09-11 21:38:58 +00:00
16 lines
295 B
Go
16 lines
295 B
Go
package debugops
|
|
|
|
import (
|
|
"github.com/openziti/ziti/router"
|
|
)
|
|
|
|
const (
|
|
DumpApiSessions byte = 128
|
|
)
|
|
|
|
func RegisterEdgeRouterAgentOps(router *router.Router, debugEnabled bool) {
|
|
if sm := router.GetStateManager(); sm != nil {
|
|
router.RegisterAgentOp(DumpApiSessions, sm.DumpApiSessions)
|
|
}
|
|
}
|