Documentation ¶ Index ¶ Variables func EnsureDir(fs afero.Fs, dir string) error type InitFs type OssSettings type Release func CreateFs(key string) (afero.Fs, Release, error) func InitSftpRoot(key string) (afero.Fs, Release, error) type SftpSettings 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 } Source Files ¶ View all Source files fileroot.gooss.gosftp.go Click to show internal directories. Click to hide internal directories.