Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3-routing
Commits
56252295
Commit
56252295
authored
Sep 16, 2014
by
Juan Batiz-Benet
Committed by
Brian Tiger Chow
Sep 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uncomment all handlers
parent
94a3fd40
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
dht/handlers.go
dht/handlers.go
+8
-8
No files found.
dht/handlers.go
View file @
56252295
...
...
@@ -21,18 +21,18 @@ func (dht *IpfsDHT) handlerForMsgType(t Message_MessageType) dhtHandler {
switch
t
{
case
Message_GET_VALUE
:
return
dht
.
handleGetValue
//
case Message_PUT_VALUE:
//
return dht.handlePutValue
case
Message_PUT_VALUE
:
return
dht
.
handlePutValue
case
Message_FIND_NODE
:
return
dht
.
handleFindPeer
//
case Message_ADD_PROVIDER:
//
return dht.handleAddProvider
//
case Message_GET_PROVIDERS:
//
return dht.handleGetProviders
case
Message_ADD_PROVIDER
:
return
dht
.
handleAddProvider
case
Message_GET_PROVIDERS
:
return
dht
.
handleGetProviders
case
Message_PING
:
return
dht
.
handlePing
//
case Message_DIAGNOSTIC:
//
return dht.handleDiagnostic
case
Message_DIAGNOSTIC
:
return
dht
.
handleDiagnostic
default
:
return
nil
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment