storage

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCacheFile

func CreateCacheFile(gzip bool) (*os.File, string, error)

func EnsureFileName

func EnsureFileName(path string, shouldGzip, unique bool) string

Types

type Storage

type Storage interface {
	Save(reader io.Reader, gzip bool, unique bool) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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