ipld-eth-server/vendor/github.com/libp2p/go-libp2p-routing-helpers/bootstrap.go

15 lines
308 B
Go
Raw Normal View History

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
}