storage

package
v0.0.0-...-8e3368f Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

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

func Open

func Open(path string) (*Storage, error)

func (*Storage) Close

func (s *Storage) Close() error

func (*Storage) List

func (s *Storage) List(prefix string) ([]string, error)

func (*Storage) Load

func (s *Storage) Load(key string, v interface{}) error

func (*Storage) Read

func (s *Storage) Read(key string) ([]byte, error)

Jump to

Keyboard shortcuts

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