Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_CACHE_DB = 0 DEFULT_CAHCE_TTL = 3600 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisAdapter ¶
type RedisAdapter struct {
// contains filtered or unexported fields
}
func Default ¶
func Default() *RedisAdapter
func NewRedisAdapter ¶
func (*RedisAdapter) GetClient ¶
func (adapter *RedisAdapter) GetClient() *redis.Client
func (*RedisAdapter) NewClient ¶
func (adapter *RedisAdapter) NewClient() *redis.Client
func (*RedisAdapter) Ping ¶
func (adapter *RedisAdapter) Ping() error
Click to show internal directories.
Click to hide internal directories.