提交 f75f4a4b 作者: Brian Tiger Chow

feat(routing) define routing.ErrNotFound

上级 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 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论