basic

command
v0.0.0-...-0fd1977 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2026 License: MIT Imports: 11 Imported by: 0

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/

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL