s3demo

command
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Command s3demo exercises the storage/s3 client against any S3-compatible endpoint: it uploads an object, reads it back whole and by range, lists the bucket, and deletes what it created.

One source, both compilers:

go run ./examples/s3demo
tinygo build -o s3demo ./examples/s3demo && ./s3demo

Configure it through the usual AWS environment variables, for example against a local RustFS:

AWS_ENDPOINT_URL_S3=http://127.0.0.1:19000 \
AWS_ACCESS_KEY_ID=rustfsadmin AWS_SECRET_ACCESS_KEY=rustfsadmin \
AWS_REGION=us-east-1 ./s3demo

Jump to

Keyboard shortcuts

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