Documentation ¶
Index ¶
- Constants
- type S3Backend
- func (b *S3Backend) Delete(filePath string) error
- func (b *S3Backend) List(path string, recursive bool) ([]string, error)
- func (b *S3Backend) Move(filePathSrc string, filePathDst string) error
- func (b *S3Backend) Read(filePath string) ([]byte, error)
- func (b *S3Backend) ReadStream(filePath string) (backend.FileStream, error)
- func (b *S3Backend) ReadString(filePath string) (string, error)
- func (b *S3Backend) Stat(filePath string) (backend.FileInfo, error)
- func (b *S3Backend) Write(filePath string, data []byte) error
- func (b *S3Backend) WriteStream(filePath string, stream io.ReadCloser, length int64) error
- func (b *S3Backend) WriteString(filePath string, content string) error
- type S3Config
Constants ¶
View Source
const BACKEND_NAME = "s3"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Backend ¶
type S3Backend struct { Config S3Config // contains filtered or unexported fields }
func (*S3Backend) ReadStream ¶
func (b *S3Backend) ReadStream(filePath string) (backend.FileStream, error)
func (*S3Backend) WriteStream ¶
Click to show internal directories.
Click to hide internal directories.