package
0.1.3
Repository: https://github.com/20326/x.git
Documentation: pkg.go.dev

# Functions

NewUniversalClient create a new Redis cache instance.
WithDB configures the Redis db num.
WithDialTimeout configures the Redis dail timeout.
WithMasterName configures the Redis Master Name.
WithPassword configures the Redis password.
WithPoolSize configures the Redis pool size.
WithPoolTimeout configures the Redis pool timeout.
WithReadTimeout configures the Redis read timeout.
WithUsername configures the Redis username.
WithWriteTimeout configures the Redis write timeout.

# Structs

No description provided by the author

# Type aliases

OptionsFunc represents an configuration function for Redis.