sirius/internal/controller/interface.go
2023-04-17 12:00:34 +10:00

11 lines
170 B
Go

package controller
import (
"context"
"io"
)
type Uploader interface {
Upload(ctx context.Context, file io.Reader, size int64, contentType string) (string, error)
}