Documentation ¶
Index ¶
- type InternalError
- type Local
- func (sto *Local) CreateLocalDir() error
- func (sto *Local) DownloadFile(cid string, fileName string) error
- func (sto *Local) FileSize(cid string) (int64, error)
- func (sto *Local) GetFile(cid string) string
- func (sto *Local) SaveFile(filename string, fileDesc io.Reader, contentType string) (string, error)
- type NotFoundError
- type S3
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InternalError ¶
type InternalError struct {
Cause string
}
func (InternalError) Error ¶
func (e InternalError) Error() string
type NotFoundError ¶
type NotFoundError struct {
Cause string
}
func (NotFoundError) Error ¶
func (e NotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.