Documentation ¶
Index ¶
- Variables
- func Blockservice(ctx context.Context, bs blockstore.Blockstore, h host.Host, ...) (bserv blockservice.BlockService)
- func Blockstore(ctx context.Context, ds datastore.Batching) (blockstore.Blockstore, error)
- func DAGService(bs blockservice.BlockService) ipld.DAGService
- func Provider(lctx fx.Lifecycle, ctx context.Context, ds datastore.Batching, ...) (provider.System, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Modules = fx.Options( fx.Provide(Blockstore), fx.Provide(Blockservice), fx.Provide(DAGService), fx.Provide(Provider), )
Functions ¶
func Blockservice ¶
func Blockservice( ctx context.Context, bs blockstore.Blockstore, h host.Host, dht routing.Routing, ) (bserv blockservice.BlockService)
func Blockstore ¶
func Blockstore( ctx context.Context, ds datastore.Batching, ) (blockstore.Blockstore, error)
func DAGService ¶
func DAGService(bs blockservice.BlockService) ipld.DAGService
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.