mirror of
https://github.com/openziti/ziti.git
synced 2026-09-10 16:55:41 +00:00
16 lines
281 B
Go
16 lines
281 B
Go
package api_impl
|
|
|
|
import (
|
|
"github.com/openziti/ziti/controller/rest_server/operations"
|
|
)
|
|
|
|
var Routers []Router
|
|
|
|
func AddRouter(router Router) {
|
|
Routers = append(Routers, router)
|
|
}
|
|
|
|
type Router interface {
|
|
Register(fabricApi *operations.ZitiFabricAPI, wrapper RequestWrapper)
|
|
}
|