loadsave

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(storer PutGetter, pipelineFn func() pipeline.Interface) file.LoadSaver

New returns a new read-write load-saver.

func NewReadonly

func NewReadonly(storer PutGetter, readMode storage.ModeGet) file.LoadSaver

NewReadonly returns a new read-only load-saver which will error on write.

Types

type PutGetter

type PutGetter interface {
	storage.Putter
	storage.Getter
}

Jump to

Keyboard shortcuts

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