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-unixfs
Commits
0fca9868
Commit
0fca9868
authored
10 years ago
by
Juan Batiz-Benet
Committed by
Brian Tiger Chow
10 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uncomment all handlers
parent
014157ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
routing/dht/handlers.go
routing/dht/handlers.go
+8
-8
No files found.
routing/dht/handlers.go
View file @
0fca9868
...
...
@@ -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
}
...
...
This diff is collapsed.
Click to expand it.
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