summaryrefslogtreecommitdiff
path: root/middleware/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'middleware/context.go')
-rw-r--r--middleware/context.go11
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
+)