Documentation
¶
Overview ¶
Package main demonstrates the core s3db operations: migrations, writes, reads, compaction, and GC. This is the happy-path tour of the API.
Run it against real S3:
AWS_REGION=us-east-1 go run ./examples/basic -bucket my-bucket -prefix demo/
Or against MinIO:
docker run -d -p 9000:9000 minio/minio server /data AWS_ENDPOINT_URL=http://localhost:9000 AWS_ACCESS_KEY_ID=minioadmin \ AWS_SECRET_ACCESS_KEY=minioadmin \ go run ./examples/basic -bucket test -prefix demo/
Click to show internal directories.
Click to hide internal directories.