memory

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() store.Store

Types

type Store

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

func (*Store) Copy

func (s *Store) Copy(_ context.Context, srcKey, dstKey string) error

func (*Store) Delete

func (s *Store) Delete(_ context.Context, key string) error

func (*Store) Load

func (s *Store) Load(_ context.Context, key string) (io.ReadCloser, *store.Headers, error)

Load loads the data from the memory store

func (*Store) Store

func (s *Store) Store(_ context.Context, key string, reader io.Reader, _ *store.Headers) error

Store stores the data in the memory store

Jump to

Keyboard shortcuts

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