mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 09:36:13 -08:00
Vendor dependencies
This commit is contained in:
committed by
Zlatko Čalušić
parent
2f0a16d8b7
commit
6054876201
17
vendor/goji.io/internal/context.go
generated
vendored
Normal file
17
vendor/goji.io/internal/context.go
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
package internal
|
||||
|
||||
// ContextKey is a type used for Goji's context.Context keys.
|
||||
type ContextKey int
|
||||
|
||||
var (
|
||||
// Path is the context key used to store the path Goji uses for its
|
||||
// PathPrefix optimization.
|
||||
Path interface{} = ContextKey(0)
|
||||
// Pattern is the context key used to store the Pattern that Goji last
|
||||
// matched.
|
||||
Pattern interface{} = ContextKey(1)
|
||||
// Handler is the context key used to store the Handler that Goji last
|
||||
// mached (and will therefore dispatch to at the end of the middleware
|
||||
// stack).
|
||||
Handler interface{} = ContextKey(2)
|
||||
)
|
||||
Reference in New Issue
Block a user