mirror of
https://github.com/redis/go-redis.git
synced 2025-07-31 05:04:23 +03:00
Add ForEachMaster API.
This commit is contained in:
@ -52,11 +52,11 @@ func formatSec(dur time.Duration) string {
|
||||
}
|
||||
|
||||
type cmdable struct {
|
||||
process func(cmd Cmder)
|
||||
process func(cmd Cmder) error
|
||||
}
|
||||
|
||||
type statefulCmdable struct {
|
||||
process func(cmd Cmder)
|
||||
process func(cmd Cmder) error
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user