Added auth middleware.
This commit is contained in:
parent
25e5119dd5
commit
9986ca627d
6 changed files with 75 additions and 13 deletions
5
context/context.go
Normal file
5
context/context.go
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
package context
|
||||
|
||||
const (
|
||||
AuthenticatedUserKey = "auth_user"
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue