// WithWatcherOfRedisClient Specify redisclient config when watcher is redisclient.
WithWatcherOfRedisClient Specify redisclient config when watcher is redisclient.
// WithWatcherOfRedisClient Specify redisclient config when watcher is redisclient .
func WithWatcherOfRedisClient(client *redis.Client) Option {
	return optionFunc(func(ops *options) {
		ops.client = client
	})
}
func WithWatcherOfRedisClient ( client * redis . Client ) Option { return optionFunc ( func ( ops * options ) { ops . client = client } ) }
WithWatcherOfRedisClient Specify redisclient config when watcher is redisclient.
WithWatcherOfRedisClient Specify redisclient config when watcher is redisclient .