diff options
Diffstat (limited to 'middleware/session/context.go')
-rw-r--r-- | middleware/session/context.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/middleware/session/context.go b/middleware/session/context.go new file mode 100644 index 0000000..870957d --- /dev/null +++ b/middleware/session/context.go @@ -0,0 +1,9 @@ +package session + +type ctxKey int + +const ( + sessionManagerKey ctxKey = iota + sessionIDKey + sessionValueKey +) |