initial commit
This commit is contained in:
commit
d40b69f1f9
58 changed files with 7919 additions and 0 deletions
10
backend/middleware/context.go
Normal file
10
backend/middleware/context.go
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
package middleware
|
||||
|
||||
type middlewareContextKey int
|
||||
|
||||
const (
|
||||
sessionKey middlewareContextKey = iota
|
||||
userKey
|
||||
jsonBodyKey
|
||||
paramsKey
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue