storage

package
v0.0.0-...-4c964c4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type LocalStore

type LocalStore struct{}

func NewLocalStore

func NewLocalStore() *LocalStore

func (*LocalStore) Save

func (store *LocalStore) Save(filePath string, data io.Reader) (string, error)

func (*LocalStore) SaveWithFileMode

func (store *LocalStore) SaveWithFileMode(filePath string, data io.Reader, perm os.FileMode) (string, error)

type Store

type Store interface {
	Save(filePath string, data io.Reader) (string, error)
	SaveWithFileMode(filePath string, data io.Reader, perm os.FileMode) (string, error)
}

func ProvideLocalStore

func ProvideLocalStore() Store

Jump to

Keyboard shortcuts

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