Help us shape the future of Go! Take the 2026 Go Developer Survey

local

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocalStorage

func NewLocalStorage(args oss.OSSArgs) (oss.OSS, error)

Types

type LocalStorage

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

func (*LocalStorage) Delete

func (l *LocalStorage) Delete(key string) error

func (*LocalStorage) Exists

func (l *LocalStorage) Exists(key string) (bool, error)

func (*LocalStorage) List

func (l *LocalStorage) List(prefix string) ([]oss.OSSPath, error)

func (*LocalStorage) Load

func (l *LocalStorage) Load(key string) ([]byte, error)

func (*LocalStorage) Save

func (l *LocalStorage) Save(key string, data []byte) error

func (*LocalStorage) State

func (l *LocalStorage) State(key string) (oss.OSSState, error)

func (*LocalStorage) Type

func (l *LocalStorage) Type() string

Jump to

Keyboard shortcuts

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