driver

package
v0.0.0-...-9530319 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(driver string) bool

func New

func New(driver string, option map[string]any, fns ...cloudfs.WrapFunc) (cloudfs.FS, error)

func NewFromString

func NewFromString(driver string, option string, fns ...cloudfs.WrapFunc) (cloudfs.FS, error)

func Register

func Register(typ string, factory OptionFactory)

func VerifyOption

func VerifyOption(driver string, option string) error

Types

type Option

type Option interface {
	NewFS() (cloudfs.FS, error)
}

type OptionFactory

type OptionFactory func() Option

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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