aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/sctx/sctx.go
diff options
context:
space:
mode:
authorElad <theman@elad.im>2018-08-07 17:56:55 +0800
committerBalint Gabor <balint.g@gmail.com>2018-08-07 17:56:55 +0800
commit93fe16b0a5162a158ee74d9f398107f31074a8f1 (patch)
tree5838389dd827c05e380c85a4e0dae04189bf07c6 /swarm/sctx/sctx.go
parent64a4e89504b683074077b54518633b76c59ab507 (diff)
downloaddexon-93fe16b0a5162a158ee74d9f398107f31074a8f1.tar
dexon-93fe16b0a5162a158ee74d9f398107f31074a8f1.tar.gz
dexon-93fe16b0a5162a158ee74d9f398107f31074a8f1.tar.bz2
dexon-93fe16b0a5162a158ee74d9f398107f31074a8f1.tar.lz
dexon-93fe16b0a5162a158ee74d9f398107f31074a8f1.tar.xz
dexon-93fe16b0a5162a158ee74d9f398107f31074a8f1.tar.zst
dexon-93fe16b0a5162a158ee74d9f398107f31074a8f1.zip
swarm/api/http: refactored http package (#17309)
Diffstat (limited to 'swarm/sctx/sctx.go')
-rw-r--r--swarm/sctx/sctx.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/swarm/sctx/sctx.go b/swarm/sctx/sctx.go
new file mode 100644
index 000000000..8619f6e19
--- /dev/null
+++ b/swarm/sctx/sctx.go
@@ -0,0 +1,7 @@
+package sctx
+
+type ContextKey int
+
+const (
+ HTTPRequestIDKey ContextKey = iota
+)