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
9fa690cf
Commit
9fa690cf
authored
Feb 14, 2018
by
Hector Sanjuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace go-ipfs repo dependency with datastore.Batching interface.
parent
a32f8f98
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
none/none_client.go
none/none_client.go
+2
-2
No files found.
none/none_client.go
View file @
9fa690cf
...
...
@@ -6,7 +6,7 @@ import (
"errors"
cid
"github.com/ipfs/go-cid"
repo
"github.com/ipfs/go-
ipfs/repo
"
ds
"github.com/ipfs/go-
datastore
"
p2phost
"github.com/libp2p/go-libp2p-host"
peer
"github.com/libp2p/go-libp2p-peer"
pstore
"github.com/libp2p/go-libp2p-peerstore"
...
...
@@ -47,7 +47,7 @@ func (c *nilclient) Bootstrap(_ context.Context) error {
}
// ConstructNilRouting creates an IpfsRouting client which does nothing.
func
ConstructNilRouting
(
_
context
.
Context
,
_
p2phost
.
Host
,
_
repo
.
Datastore
)
(
routing
.
IpfsRouting
,
error
)
{
func
ConstructNilRouting
(
_
context
.
Context
,
_
p2phost
.
Host
,
_
ds
.
Batching
)
(
routing
.
IpfsRouting
,
error
)
{
return
&
nilclient
{},
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