Debian Codegraph @

internal/context.go

raw symbols SCIP
1 package internal
2
3 // ContextKey is a type used for Goji's context.Context keys.
4 type ContextKey int
5
6 var (
7 // Path is the context key used to store the path Goji uses for its
8 // PathPrefix optimization.
9 Path interface{} = ContextKey(0)
10 // Pattern is the context key used to store the Pattern that Goji last
11 // matched.
12 Pattern interface{} = ContextKey(1)
13 // Handler is the context key used to store the Handler that Goji last
14 // mached (and will therefore dispatch to at the end of the middleware
15 // stack).
16 Handler interface{} = ContextKey(2)
17 )