Documentation ¶
Index ¶
- func CreateSectorAccessor(ctx context.Context, storageApiInfo string, fullnodeApi v1api.FullNode, ...) (dagstore.SectorAccessor, jsonrpc.ClientCloser, error)
- func GetFullNodeApi(ctx context.Context, ai string, log *logging.ZapEventLogger) (v1api.FullNode, jsonrpc.ClientCloser, error)
- func GetMinerApi(ctx context.Context, ai string, log *logging.ZapEventLogger) (v0api.StorageMiner, jsonrpc.ClientCloser, error)
- func StorageAuthWithURL(apiInfo string) (sealer.StorageAuth, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSectorAccessor ¶
func CreateSectorAccessor(ctx context.Context, storageApiInfo string, fullnodeApi v1api.FullNode, log *logging.ZapEventLogger) (dagstore.SectorAccessor, jsonrpc.ClientCloser, error)
func GetFullNodeApi ¶
func GetMinerApi ¶
func GetMinerApi(ctx context.Context, ai string, log *logging.ZapEventLogger) (v0api.StorageMiner, jsonrpc.ClientCloser, error)
func StorageAuthWithURL ¶
func StorageAuthWithURL(apiInfo string) (sealer.StorageAuth, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.