From 2916082d5ed94ef86ad58bdb7256ae07b214c4f3 Mon Sep 17 00:00:00 2001 From: Alexander NeonXP Kiryukhin Date: Mon, 29 Jul 2024 02:38:17 +0300 Subject: Начальный коммит MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- middleware/context.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 middleware/context.go (limited to 'middleware/context.go') 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 +) -- cgit v1.2.3