sharedStorage

package
v0.0.0-...-b7c645d Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Callback

type Callback interface {
	Put(string)
	Delete(string)
}

type Provider

type Provider interface {
	SharedStorage(string, Callback) (store.Store, error)
}

func NewSharedStoreProvider

func NewSharedStoreProvider(
	cfg config.Config,
	ds datastore.Batching,
	h host.Host,
	dht routing.Routing,
	ps *pubsub.PubSub,
) (Provider, error)

Jump to

Keyboard shortcuts

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