Commit f75f4a4b authored by Brian Tiger Chow's avatar Brian Tiger Chow

feat(routing) define routing.ErrNotFound

parent e8ec8ce9
package routing
import (
"errors"
context "github.com/jbenet/go-ipfs/Godeps/_workspace/src/code.google.com/p/go.net/context"
peer "github.com/jbenet/go-ipfs/peer"
u "github.com/jbenet/go-ipfs/util"
)
// ErrNotFound is returned when a search fails to find anything
var ErrNotFound = errors.New("routing: key not found")
// IpfsRouting is the routing module interface
// It is implemented by things like DHTs, etc.
type IpfsRouting interface {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment