Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorBucketExists = errors.New("bucket already exists")
Functions ¶
This section is empty.
Types ¶
type FilesService ¶
type FilesService interface { RegisterUser(ctx context.Context, bucketName string) error ListFiles(ctx context.Context, bucketName, dir string) ([]*pb.FileInfo, error) UploadFile(ctx context.Context, req *dto.UploadFileStreamRequest) error DownloadFile(ctx context.Context, bucketName, filePath string) (io.ReadCloser, error) RemoveFile(ctx context.Context, bucketName, filePath string) error }
func New ¶
func New(conf config.Minio) FilesService
Click to show internal directories.
Click to hide internal directories.