Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudStorage ¶
type CloudStorage struct {
// contains filtered or unexported fields
}
func NewCloudStorage ¶
func (*CloudStorage) Delete ¶
func (fs *CloudStorage) Delete(fileName string) error
func (*CloudStorage) Exists ¶
func (fs *CloudStorage) Exists(filename string) bool
type Filesystem ¶
type Filesystem interface { Delete(string) error //Get(string) (io.ReadCloser, error) //Put(filename, filetype string, content io.Reader) error Get(string) ([]byte, error) Put(filename, filetype string, content []byte) error Exists(string) bool }
func NewS3FS ¶
func NewS3FS(region, bucket string) Filesystem
Click to show internal directories.
Click to hide internal directories.