SIGN IN SIGN UP
1Panel-dev / 1Panel UNCLAIMED

🔥 Take full control of your VPS with 1Panel. Deploy OpenClaw in one click.

0 0 108 Go

feat: Migrate to MinIO SDK and enhance S3 client with TLS and context (#12207)

* chore: update dependencies and migrate S3 client to MinIO SDK

- Removed AWS SDK dependency and replaced S3 client implementation with MinIO SDK.
- Updated various dependencies in go.mod and go.sum, including version upgrades for `klauspost/compress`, `minio/minio-go`, and `rs/xid`.
- Adjusted S3 client methods to utilize MinIO's API for bucket listing, object existence checks, uploads, downloads, and deletions.

* refactor: enhance S3 client with context management and TLS support

- Introduced context management with timeouts for S3 client operations to improve reliability.
- Added TLS configuration to support secure connections based on the endpoint scheme.
- Updated S3 client methods to utilize the new context and transport settings for enhanced performance and security.

---------

Co-authored-by: ssongliu <sloooop1x@gmail.com>
K
KOMATA committed
08388124b38455ca751af771dbe4cb5c7cb24eb8
Parent: 34ccc68
Committed by GitHub <noreply@github.com> on 4/15/2026, 2:00:08 AM