mirror of https://github.com/docker/docs.git
21 lines
418 B
Go
21 lines
418 B
Go
// +build !experimental
|
|
|
|
package network
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/docker/docker/api/server/router"
|
|
"github.com/docker/docker/daemon"
|
|
"github.com/gorilla/mux"
|
|
)
|
|
|
|
// NewRouter initializes a new network router
|
|
func NewRouter(d *daemon.Daemon) router.Router {
|
|
return networkRouter{}
|
|
}
|
|
|
|
// Register adds the filtered handler to the mux.
|
|
func (n networkRoute) Register(m *mux.Router, handler http.Handler) {
|
|
}
|