mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
14 lines
339 B
Go
14 lines
339 B
Go
|
// +build experimental
|
||
|
|
||
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/docker/docker/api/server/router"
|
||
|
pluginrouter "github.com/docker/docker/api/server/router/plugin"
|
||
|
"github.com/docker/docker/plugin"
|
||
|
)
|
||
|
|
||
|
func addExperimentalRouters(routers []router.Router) []router.Router {
|
||
|
return append(routers, pluginrouter.NewRouter(plugin.GetManager()))
|
||
|
}
|