13 lines
224 B
Go
13 lines
224 B
Go
package upload
|
|
|
|
import "context"
|
|
|
|
type Credential struct {
|
|
ObjectKey string
|
|
UploadURL string
|
|
}
|
|
|
|
type Service interface {
|
|
CreateCredential(ctx context.Context, userID int64, mime string, size int64) (*Credential, error)
|
|
}
|