keyval-opts

command
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

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/

Jump to

Keyboard shortcuts

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