Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileStorage ¶
type FileStorage struct {
// contains filtered or unexported fields
}
Minio storage struct implemets Provider interface methods
func NewFileStorage ¶
func NewFileStorage(client *minio.Client, bucket, endpoint string) *FileStorage
Constructor
func (*FileStorage) Upload ¶
func (fs *FileStorage) Upload(ctx context.Context, input UploadInput) (string, error)
Required method for Provider interface
Click to show internal directories.
Click to hide internal directories.