storage

package
v0.11.9 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NamedFsService = map[string]InitFs{}
	FsCacheEnabled = map[string]bool{
		"":      true,
		"local": true,
	}
)

Functions

func EnsureDir added in v0.11.9

func EnsureDir(fs afero.Fs, dir string) error

Types

type InitFs

type InitFs func(key string) (afero.Fs, Release, error)

type OssSettings added in v0.11.9

type OssSettings struct {
	Endpoint  string
	AccessKey string
	SecretKey string
	Bucket    string
	Region    string
	Path      string
}

type Release

type Release func()

func CreateFs

func CreateFs(key string) (afero.Fs, Release, error)

func InitSftpRoot added in v0.11.9

func InitSftpRoot(key string) (afero.Fs, Release, error)

type SftpSettings added in v0.11.9

type SftpSettings struct {
	Endpoint       string
	Account        string
	Password       string
	PrivateKeypath string
	Path           string
}

Jump to

Keyboard shortcuts

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