forked from alibaba-go/bluto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoc.go
15 lines (11 loc) · 756 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*Package bluto is redis library wrapper over redigo which adds type safety, chained commands and
managed connection pool which makes it easier for developers to use the library and reduce runtime bugs.
bluto instance is completely thread-safe which means you can pass bluto objects
to different goroutines without race condition, it also automatically returns finished
connections to connection pool.
pool also supports config for connections like timeout and health-check for better management.
commander is borrowed from bluto instance which can be used to chain multiple commands together and
run all of them with commit. This chaining reduces the time when the connection is kept so it improves
the pool connection reuse latency.
*/
package bluto