diff options
author | Alexander NeonXP Kiryukhin <i@neonxp.ru> | 2024-07-30 00:45:25 +0300 |
---|---|---|
committer | Alexander NeonXP Kiryukhin <i@neonxp.ru> | 2024-07-30 00:45:25 +0300 |
commit | 623eaf165a4f248681acfec094f2f1ac1e0ff89f (patch) | |
tree | 54a7b7c0be2002b4d9c4d59081e0e9c2bb84628b /middleware/session/context.go | |
parent | c261597b9adb827bfa16de8f21ce47ac63bec138 (diff) |
Пересмотрел механизм сессий
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 +) |