goredis:golang redis 客户端,缓冲连接,连接池

时间:2024-08-01 20:02:47
【文件属性】:

文件名称:goredis:golang redis 客户端,缓冲连接,连接池

文件大小:25KB

文件格式:ZIP

更新时间:2024-08-01 20:02:47

Go

goredis golang redis client, bufferd connection, connection pool, support all redis commands, 欢迎大家批评指正,更欢迎大家加入进来。 Create a new conn? c, e := Dial("127.0.0.1:6379", pwd, CTimeout, RTimeout, WTimeout, alive, *pool) if e != nil { println(e.Error()) return } 如果redis不需要AUTH认证, password ="" A Redis Command. c.GET("mykey") c.SADD("mySets", []string{"a","b","c"}) // You can also use this


【文件预览】:
goredis-master
----goredis.go(459B)
----once.go(376B)
----LICENSE(18KB)
----conn.go(12KB)
----README.md(4KB)
----commands.go(41KB)
----conn_test.go(14KB)
----pool.go(10KB)
----multipool_test.go(4KB)

网友评论