aboutsummaryrefslogtreecommitdiff
path: root/dht
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-06-12 07:52:32 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-06-12 07:52:32 +0200
commit655c6559c5af5516d0ee44e8d5f7d7b8549d0d18 (patch)
tree8426c72467f8a2cfa6d3bf1b6bec9f94cd195f88 /dht
parentf3bfa4ae08a37675b35e92eb6067c7340f3b12d7 (diff)
Add DHT stub
Diffstat (limited to 'dht')
-rw-r--r--dht/errors.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/dht/errors.go b/dht/errors.go
new file mode 100644
index 0000000..47cb4d9
--- /dev/null
+++ b/dht/errors.go
@@ -0,0 +1,8 @@
+package dht
+
+var ErrCodes = map[int]string{
+ 201: "Generic Error",
+ 202: "Server Error",
+ 203: "Protocol Error",
+ 204: "Method Unknown",
+}