diff options
author | Sam Truzjan <pxqr.sta@gmail.com> | 2014-02-16 21:19:45 +0400 |
---|---|---|
committer | Sam Truzjan <pxqr.sta@gmail.com> | 2014-02-16 21:19:45 +0400 |
commit | bdf086bea98bd29c5437a77df5c19563ea29a9c1 (patch) | |
tree | 4f334771f551173f0f511c40a62254aed800f88e /src/Network/BitTorrent/DHT.hs | |
parent | 4f34289c4c652d312667cd0cc3bf1660b907f707 (diff) |
Expose DHT options in DHT.hs module
Diffstat (limited to 'src/Network/BitTorrent/DHT.hs')
-rw-r--r-- | src/Network/BitTorrent/DHT.hs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Network/BitTorrent/DHT.hs b/src/Network/BitTorrent/DHT.hs index 3b852c52..6b57e451 100644 --- a/src/Network/BitTorrent/DHT.hs +++ b/src/Network/BitTorrent/DHT.hs | |||
@@ -20,7 +20,7 @@ | |||
20 | module Network.BitTorrent.DHT | 20 | module Network.BitTorrent.DHT |
21 | ( -- * Distributed Hash Table | 21 | ( -- * Distributed Hash Table |
22 | DHT | 22 | DHT |
23 | , MonadDHT (..) | 23 | , Options (..) |
24 | , dht | 24 | , dht |
25 | 25 | ||
26 | -- * Bootstrapping | 26 | -- * Bootstrapping |
@@ -39,12 +39,15 @@ module Network.BitTorrent.DHT | |||
39 | , Network.BitTorrent.DHT.insert | 39 | , Network.BitTorrent.DHT.insert |
40 | , Network.BitTorrent.DHT.delete | 40 | , Network.BitTorrent.DHT.delete |
41 | 41 | ||
42 | -- * Internal | 42 | -- * Embedding |
43 | -- | Can be used to implement instance of 'MonadDHT'. | 43 | -- ** Session |
44 | , LogFun | 44 | , LogFun |
45 | , Node | 45 | , Node |
46 | , handlers | 46 | , handlers |
47 | , startNode | 47 | , startNode |
48 | |||
49 | -- ** Monad | ||
50 | , MonadDHT (..) | ||
48 | , runDHT | 51 | , runDHT |
49 | ) where | 52 | ) where |
50 | 53 | ||