summaryrefslogtreecommitdiff
path: root/context.go
diff options
context:
space:
mode:
authorAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-28 19:32:33 +0300
committerAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-07-28 19:32:33 +0300
commit18a9096684ab0b1468a08d442d38b7b675d94810 (patch)
tree16e335e56ac0bf7986c3fbcd924f2ac0e00106f8 /context.go
parent25160ef84704c0f4ef6e8c6cf2e282e216701139 (diff)
Session middlewareHEADmaster
Diffstat (limited to 'context.go')
-rw-r--r--context.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/context.go b/context.go
new file mode 100644
index 0000000..b844226
--- /dev/null
+++ b/context.go
@@ -0,0 +1,8 @@
+package middleware
+
+type ctxKey struct{}
+
+var (
+ requestIDKey ctxKey
+ sessionKey ctxKey
+)