persistenceoptions

package
v0.13.12 Latest Latest
Warning

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

Go to latest
Published: May 28, 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 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

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