feat (patient): upload done
This commit is contained in:
@@ -2,9 +2,6 @@ package minio
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"io"
|
||||
"net/url"
|
||||
"time"
|
||||
|
||||
a "github.com/karincake/apem"
|
||||
lo "github.com/karincake/apem/loggero"
|
||||
@@ -24,28 +21,6 @@ type MinioCfg struct {
|
||||
BucketName []string `yaml:"bucketName"`
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
type ResponsePostPolicy struct {
|
||||
Url string `json:"url"`
|
||||
FormData map[string]string `json:"form-data"`
|
||||
|
||||
Reference in New Issue
Block a user