Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachePool ¶
type CachePool struct {
// contains filtered or unexported fields
}
func NewCachePool ¶
func NewCachePool() *CachePool
func (*CachePool) GetConn ¶
func (cp *CachePool) GetConn(key string) (redispool.PoolConnection, error)
func (*CachePool) ReleaseConn ¶
func (cp *CachePool) ReleaseConn(pc redispool.PoolConnection)
func (*CachePool) RemovePool ¶
type SimpleConnectionPool ¶
func NewSimpleConnectionPool ¶
func NewSimpleConnectionPool() *SimpleConnectionPool
func (*SimpleConnectionPool) Close ¶
func (s *SimpleConnectionPool) Close()
func (*SimpleConnectionPool) Get ¶
func (s *SimpleConnectionPool) Get() (redispool.PoolConnection, error)
func (*SimpleConnectionPool) Open ¶
func (s *SimpleConnectionPool) Open(fact redispool.CreateConnectionFunc)
func (*SimpleConnectionPool) Put ¶
func (s *SimpleConnectionPool) Put(conn redispool.PoolConnection)
Click to show internal directories.
Click to hide internal directories.