persistenceoptions

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 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 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) GetLinkSystem added in v0.8.0

func (po *PersistenceOptions) GetLinkSystem(name string) (ipld.LinkSystem, bool)

GetLinkSystem returns the link system for the named persistence option

func (*PersistenceOptions) Register

func (po *PersistenceOptions) Register(name string, linkSystem ipld.LinkSystem) error

Register registers a new link system for the response manager

func (*PersistenceOptions) Unregister

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

Unregister unregisters a link system for the response manager

Jump to

Keyboard shortcuts

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