traefik/types/internal_router.go
2018-04-23 15:30:03 +02:00

10 lines
213 B
Go

package types
import (
"github.com/containous/mux"
)
// InternalRouter router used by server to register internal routes (/api, /ping ...)
type InternalRouter interface {
AddRoutes(systemRouter *mux.Router)
}