persistenceoptions

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: MIT, 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 PersistenceOptions

type PersistenceOptions struct {
	// contains filtered or unexported fields
}

PersistenceOptions is a registry of loaders for persistence options

func New

func New() *PersistenceOptions

New returns a new registry of persistence options

func (*PersistenceOptions) GetLoader

func (po *PersistenceOptions) GetLoader(name string) (ipld.Loader, bool)

GetLoader returns the loader for the named persistence option

func (*PersistenceOptions) Register

func (po *PersistenceOptions) Register(name string, loader ipld.Loader) error

Register registers a new loader for the response manager

func (*PersistenceOptions) Unregister

func (po *PersistenceOptions) Unregister(name string) error

Unregister unregisters a loader for the response manager

Jump to

Keyboard shortcuts

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