localstorage

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const WriteTestFile = "write_test.tmp"

Variables

This section is empty.

Functions

This section is empty.

Types

type LocalStorage

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

func NewLocalStorage

func NewLocalStorage(rootPath string) (*LocalStorage, error)

func (*LocalStorage) DeleteFile

func (s *LocalStorage) DeleteFile(filename string) error

func (*LocalStorage) SaveFile

func (s *LocalStorage) SaveFile(filename string, content []byte) error

Jump to

Keyboard shortcuts

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