package router
import "github.com/dotcloud/docker/api/server/router"
Index ¶
Types ¶
type Route ¶
type Route interface { // Handler returns the raw function to create the http handler. Handler() httputils.APIFunc // Method returns the http method that the route responds to. Method() string // Path returns the subpath where the route responds to. Path() string }
Route defines an individual API route in the docker server.
type Router ¶
type Router interface { Routes() []Route }
Router defines an interface to specify a group of routes to add the the docker server.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
api/server/router/build | |
api/server/router/container | |
api/server/router/local | |
api/server/router/network | |
api/server/router/system | |
api/server/router/volume |
- Version
- v1.10.0-rc3
- Published
- Feb 2, 2016
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 2 seconds ago –
Tools for package owners.