Files
2025-09-24 14:24:57 +07:00

30 lines
425 B
Go

package miniohelper
import (
"io"
"net/url"
"time"
)
type UploadReaderInput struct {
File io.Reader
Name string
Size int64
ContentType string
BucketName string
}
type UploadPathInput struct {
BucketName string
ContentType string
Name string
Path string
}
type PresignedGetInput struct {
Bucket string
Object string
Expiry time.Duration
ReqParams url.Values
}