mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Clarify thread safety. Fixes #166.
This commit is contained in:
3
multi.go
3
multi.go
@ -9,7 +9,8 @@ import (
|
||||
var errDiscard = errors.New("redis: Discard can be used only inside Exec")
|
||||
|
||||
// Multi implements Redis transactions as described in
|
||||
// http://redis.io/topics/transactions.
|
||||
// http://redis.io/topics/transactions. It's NOT safe for concurrent
|
||||
// use by multiple goroutines.
|
||||
type Multi struct {
|
||||
commandable
|
||||
|
||||
|
Reference in New Issue
Block a user