Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IStorageNetworking ¶ added in v0.9.7
type IStorageNetworking interface{}
type StorageNetworkingSubmodule ¶
type StorageNetworkingSubmodule struct { // Exchange is the interface for fetching data from other nodes. Exchange exchange.Interface }
StorageNetworkingSubmodule enhances the `Node` with data transfer capabilities.
func NewStorgeNetworkingSubmodule ¶
func NewStorgeNetworkingSubmodule(ctx context.Context, network *network.NetworkSubmodule) (*StorageNetworkingSubmodule, error)
NewStorgeNetworkingSubmodule creates a new storage networking submodule.
func (*StorageNetworkingSubmodule) API ¶
func (storageNetworking *StorageNetworkingSubmodule) API() IStorageNetworking
API create a new storage implement
func (*StorageNetworkingSubmodule) V0API ¶ added in v0.9.7
func (storageNetworking *StorageNetworkingSubmodule) V0API() IStorageNetworking
Click to show internal directories.
Click to hide internal directories.