Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisCache ¶
type RedisCache struct {
// contains filtered or unexported fields
}
func New ¶
func New(server, password string) *RedisCache
Creates a new Redis cache instance, connecting to the given server and AUTHing with the provided password. If the password is an empty string, the AUTH command will not be run.
func (*RedisCache) Close ¶
func (r *RedisCache) Close()
func (*RedisCache) Flush ¶
func (r *RedisCache) Flush() error
func (*RedisCache) Len ¶
func (r *RedisCache) Len() uint
func (*RedisCache) Size ¶
func (r *RedisCache) Size() uint64
Click to show internal directories.
Click to hide internal directories.