static

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFileDoesNotExist = errors.New("file doesn't exist")
)

Functions

This section is empty.

Types

type StaticStorage

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

func NewStaticStorage

func NewStaticStorage(path string) (*StaticStorage, error)

func (*StaticStorage) ReadFile

func (s *StaticStorage) ReadFile(filename string) (*os.File, error)

func (*StaticStorage) WriteFile

func (s *StaticStorage) WriteFile(filename string, data io.Reader) error

Jump to

Keyboard shortcuts

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