storagenetworking

package
v1.15.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0, MIT Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL