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
7efab0d2
Commit
7efab0d2
authored
Jul 16, 2015
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup datastore interfaces
License: MIT Signed-off-by:
Jeromy
<
jeromyj@gmail.com
>
parent
929e4cb9
Changes
1
Hide 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 @
7efab0d2
...
...
@@ -3,11 +3,11 @@ package nilrouting
import
(
"errors"
ds
"github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-datastore"
context
"github.com/ipfs/go-ipfs/Godeps/_workspace/src/golang.org/x/net/context"
key
"github.com/ipfs/go-ipfs/blocks/key"
p2phost
"github.com/ipfs/go-ipfs/p2p/host"
peer
"github.com/ipfs/go-ipfs/p2p/peer"
repo
"github.com/ipfs/go-ipfs/repo"
routing
"github.com/ipfs/go-ipfs/routing"
logging
"github.com/ipfs/go-ipfs/vendor/QmQg1J6vikuXF9oDvm4wpdeAUvvkVEKW1EYDw9HhTMnP2b/go-log"
)
...
...
@@ -47,7 +47,7 @@ func (c *nilclient) Bootstrap(_ context.Context) error {
return
nil
}
func
ConstructNilRouting
(
_
context
.
Context
,
_
p2phost
.
Host
,
_
ds
.
Datastore
)
(
routing
.
IpfsRouting
,
error
)
{
func
ConstructNilRouting
(
_
context
.
Context
,
_
p2phost
.
Host
,
_
repo
.
Datastore
)
(
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