1
0
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:
Vladimir Mihailenco
2016-06-17 12:09:38 +00:00
parent 06f3f8ebf0
commit 4761c24218
8 changed files with 133 additions and 64 deletions

View File

@ -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
}
//------------------------------------------------------------------------------