memory

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

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

func New

func New() *Backend

func (*Backend) Delete added in v0.2.0

func (b *Backend) Delete(ctx context.Context, name string) error

func (*Backend) List

func (b *Backend) List(ctx context.Context, prefix string) (simpleblob.BlobList, error)

func (*Backend) Load

func (b *Backend) Load(ctx context.Context, name string) ([]byte, error)

func (*Backend) Store

func (b *Backend) Store(ctx context.Context, name string, data []byte) error

Jump to

Keyboard shortcuts

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