traefik/types/internal_router.go

11 lines
213 B
Go
Raw Normal View History

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)
}