fix: harden desktop release OSS uploads

This commit is contained in:
2026-06-22 23:49:24 +08:00
parent dcbab28e69
commit f0de364063
7 changed files with 218 additions and 63 deletions
@@ -33,6 +33,10 @@ type ReaderClient interface {
PutReader(ctx context.Context, objectKey string, reader io.Reader, size int64, contentType string) error
}
type ObjectReaderClient interface {
GetReader(ctx context.Context, objectKey string) (io.ReadCloser, error)
}
type PresignedPutResult struct {
URL string
Headers http.Header