Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StorageNetworkingAPI ¶
type StorageNetworkingAPI struct {
// contains filtered or unexported fields
}
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() *StorageNetworkingAPI
Click to show internal directories.
Click to hide internal directories.