Documentation ¶ Index ¶ type Driver type FileInfo type Local func NewLocal() *Local func (*Local) Exists(path string) bool func (*Local) Mkdir(path string) error func (*Local) Write(path string, content []byte) (FileInfo, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Driver ¶ type Driver interface { Exists(path string) bool Mkdir(path string) error Write(path string, content []byte) (FileInfo, error) } type FileInfo ¶ type FileInfo struct { Path string Size int64 } type Local ¶ type Local struct { } func NewLocal ¶ func NewLocal() *Local func (*Local) Exists ¶ func (*Local) Exists(path string) bool func (*Local) Mkdir ¶ func (*Local) Mkdir(path string) error func (*Local) Write ¶ func (*Local) Write(path string, content []byte) (FileInfo, error) Source Files ¶ View all Source files driver.golocal.go Click to show internal directories. Click to hide internal directories.