summaryrefslogtreecommitdiff
path: root/api/server/router/debug
Commit message (Collapse)AuthorAgeFilesLines
* Switch from x/net/context -> contextKir Kolyshkin2018-04-232-3/+2
| | | | | | | | | | | Since Go 1.7, context is a standard package. Since Go 1.9, everything that is provided by "x/net/context" is a couple of type aliases to types in "context". Many vendored packages still use x/net/context, so vendor entry remains for now. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
* Add canonical import commentDaniel Nephin2018-02-052-2/+2
| | | | Signed-off-by: Daniel Nephin <dnephin@docker.com>
* Enable pprof/debug endpoints by defaultBrian Goff2017-07-172-0/+66
Makes sure that debug endpoints are always available, which will aid in debugging demon issues. Wraps debug endpoints in the middleware chain so the can be blocked by authz. Signed-off-by: Brian Goff <cpuguy83@gmail.com>