Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 504 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 504 Bytes

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 <redis host> -password <redis password> -port <redis port>