sirius/internal/controller/interface.go

11 lines
170 B
Go
Raw Normal View History

2023-04-17 05:00:34 +03:00
package controller
import (
"context"
"io"
)
type Uploader interface {
Upload(ctx context.Context, file io.Reader, size int64, contentType string) (string, error)
}