ipld-eth-server/vendor/github.com/libp2p/go-libp2p-routing-helpers/bootstrap.go
Elizabeth Engelman 36533f7c3f Update vendor directory and make necessary code changes
Fixes for new geth version
2019-09-25 16:32:27 -05:00

15 lines
308 B
Go

package routinghelpers
import (
"context"
)
// TODO: Consider moving this to the routing package?
// Bootstrap is an interface that should be implemented by any routers wishing
// to be bootstrapped.
type Bootstrap interface {
// Bootstrap bootstraps the router.
Bootstrap(ctx context.Context) error
}