{"modulePath":"github.com/hyperhq/hypercli","version":"v1.10.16","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package router\n\n## Types\n\n```go\ntype Route interface {\n\t// Handler returns the raw function to create the http handler.\n\tHandler() httputils.APIFunc\n\t// Method returns the http method that the route responds to.\n\tMethod() string\n\t// Path returns the subpath where the route responds to.\n\tPath() string\n}\n```\nRoute defines an individual API route in the docker server.\n\n```go\ntype Router interface {\n\tRoutes() []Route\n}\n```\nRouter defines an interface to specify a group of routes to add the the docker server.\n\n","path":"github.com/hyperhq/hypercli/api/server/router","name":"router","synopsis":"","isRedistributable":true}
