diff options
author | Alexander NeonXP Kiryukhin <i@neonxp.ru> | 2024-07-29 02:38:17 +0300 |
---|---|---|
committer | Alexander NeonXP Kiryukhin <i@neonxp.ru> | 2024-07-29 02:38:17 +0300 |
commit | 2916082d5ed94ef86ad58bdb7256ae07b214c4f3 (patch) | |
tree | 322a0e9172c07457a892f9737839843b8c584864 /middleware/context.go |
Начальный коммит
Diffstat (limited to 'middleware/context.go')
-rw-r--r-- | middleware/context.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/middleware/context.go b/middleware/context.go new file mode 100644 index 0000000..b9ad45f --- /dev/null +++ b/middleware/context.go @@ -0,0 +1,11 @@ +package middleware + +type ctxKey int + +const ( + requestIDKey ctxKey = iota + sessionIDKey + sessionValueKey + sessionConfigKey + sessionStorerKey +) |