Documentation ¶
Overview ¶
The `keyvalue` packages example connect to AWS Keyspaces, save KeyValue to Keyspaces and than read it. Than save another one KeyValue and read list of keys and list of values. To execute this example you need create `kscdb` keyspace in your AWS Keyspaces and get your AWS Keyspaces credentials in AWS Users Page.
The `-username`, `-passwd` and `-host` is requered parameters, or you can use environment variables instead:
KEYSPACES_USERNAME - keyspaces user name KEYSPACES_PASSWD - keyspaces parrword KEYSPACES_HOST - keyspaces host
Execute next command to run this example:
go run ./cmd/keyvalue
Click to show internal directories.
Click to hide internal directories.