Skip to content

quorzz/readygo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

readygo

a redis client for golang

Document

Getting Started

    config := &redis.Config{
        Password:    "123456", // passworf of redis, set "" as no auth
        Database:    10,
        PoolMaxIdle: 10, // capacity of connection pool
    }
    redis, _ = redis.Dial(config)

    // PING when take connection from the pool
    redis.PingOnPool()

    message, _ := redis.Execute("SET", "abc", "demo")

    message.String()

more introduce about the message : redis-protocol

About

A redis client in golang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages