Documentation
¶
Overview ¶
TeoS3 `keyval-opt` example. There is example which shows how to used teos3 packets functions with options.
This example executes following tasks:
- sets some numer of data records (objects) by key (objects name) to the key/value db baset on s3 bucket;
- gets full list of saved data records by prefix;
- gets part of list using options;
- deletes all saved objects.
Fill next environment variables to run this example:
export TEOS3_ACCESSKEY=YOUR_ACCESSKEY TEOS3_SECRETKEY=YOUR_SECRETKEY \ TEOS3_ENDPOINT=YOUR_GATEWAT TEOS3_BUCKET=YOUR_BUCKET
Use next command to run this example:
go run ./examples/keyval-opts/
Click to show internal directories.
Click to hide internal directories.