go

command
v0.0.0-...-dc00c00 Latest Latest
Warning

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

Go to latest
Published: May 21, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

README

Redis®* Go Example

This example uses the redis library to connect to Redis®*, write a key/value pair, and read it out again.

Installing Dependencies

go get github.com/go-redis/redis

Compiling The Example Program

go build main.go redis_example.go

Running The Example

Note: You can retrieve the connection details from the Aiven Console overview tab.

./main -host  -password  -port 

Trademark

* Redis is a registered trademark of Redis Ltd. Any rights therein are reserved to Redis Ltd. Any use by Aiven Oy is for referential purposes only and does not indicate any sponsorship, endorsement or affiliation between Redis and Aiven Oy.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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