Derek McGowan
|
2816ec7b00
Remove unused router swapper
|
5 years ago |
Sebastiaan van Stijn
|
2a9c987e5a
Move httputils error helpers to errdefs package
|
6 years ago |
Brian Goff
|
05390c4f6e
Rely on request.Context() cancellation
|
6 years ago |
Brian Goff
|
d5916f6393
Update gorilla/mux
|
6 years ago |
KimMachineGun
|
1377a2ddee
api/server, dockerversion: modify context key
|
6 years ago |
Yuichiro Kaneko
|
dbd4c290b7
Update comments about `InitRouter`
|
7 years ago |
Sebastiaan van Stijn
|
4f8c870d62
Fix some linting issues
|
7 years ago |
Kir Kolyshkin
|
7d62e40f7e
Switch from x/net/context -> context
|
7 years ago |
Daniel Nephin
|
4f0d95fa6e
Add canonical import comment
|
7 years ago |
Sebastiaan van Stijn
|
7d4eab5543
Remove deprecated --enable-api-cors flag
|
7 years ago |
Brian Goff
|
ebcb7d6b40
Remove string checking in API error handling
|
8 years ago |
Derek McGowan
|
1009e6a40b
Update logrus to v1.0.1
|
8 years ago |
Brian Goff
|
408c7ade70
Enable pprof/debug endpoints by default
|
8 years ago |
zhangxiaoyu-zidif
|
1ab62a0b4d
server.go: format for
|
8 years ago |
Aaron Lehmann
|
7381fffb2f
api: Don't include stack traces with errors
|
8 years ago |
Tibor Vass
|
f7d9bb6248
Show stacktrace in daemon logs only if 500 internal error
|
8 years ago |
Tibor Vass
|
26d0bac895
plugin: use pkg/errors in more places
|
8 years ago |
Tonis Tiigi
|
64981b9f09
Move UAStringKey to dockerversion pkg
|
8 years ago |
allencloud
|
1f039a66ac
fix typo
|
8 years ago |
Victor Vieux
|
e98e4a7111
always add but hide experimental cmds and flags
|
8 years ago |
Elena Morozova
|
64238fef8c
all: replace loop with single append
|
8 years ago |
mgniu
|
97a4548bb3
typo: modified `Server` as `Serve`
|
8 years ago |
Daniel Nephin
|
c452e1bfe6
Move errors/ to api/errors
|
8 years ago |
mgniu
|
e743ab0882
replace `handleWithGlobalMiddlewares` with `handlerWithGlobalMiddlewares`
|
9 years ago |
Yong Tang
|
a72b45dbec
Fix logrus formatting
|
9 years ago |
Ben Firshman
|
322e2a7d05
Return remote API errors as JSON
|
9 years ago |
David Calavera
|
8d3467626e
Move middleware to interfaces.
|
9 years ago |
Antonio Murdaca
|
526ddd3512
api: server: server: remove redunant debugf
|
9 years ago |
David Calavera
|
a793564b25
Remove static errors from errors package.
|
9 years ago |
David Calavera
|
1ba44a832f
Make server middleware standalone functions.
|
9 years ago |