Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystemProvider ¶
type FileSystemProvider struct {
// contains filtered or unexported fields
}
func (FileSystemProvider) DeleteFile ¶
func (f FileSystemProvider) DeleteFile(ctx context.Context, filename string) error
type Provider ¶
type Provider interface { AddFile(ctx context.Context, filename string, stream io.Reader) error GetFile(ctx context.Context, filename string) (*os.File, error) DeleteFile(ctx context.Context, filename string) error }
func NewFilesystemProvider ¶
func NewS3Provider ¶
type S3Provider ¶
type S3Provider struct {
// contains filtered or unexported fields
}
func (S3Provider) DeleteFile ¶
func (p S3Provider) DeleteFile(ctx context.Context, filename string) error
Click to show internal directories.
Click to hide internal directories.