cachepool

package
v0.0.0-...-17176b1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2015 License: MIT Imports: 5 Imported by: 0

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) AddPool

func (cp *CachePool) AddPool(key string) error

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

func (cp *CachePool) RemovePool(key string) error

type LivePool

type LivePool struct {
	// contains filtered or unexported fields
}

type SimpleConnectionPool

type SimpleConnectionPool struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewSimpleConnectionPool

func NewSimpleConnectionPool() *SimpleConnectionPool

func (*SimpleConnectionPool) Close

func (s *SimpleConnectionPool) Close()

func (*SimpleConnectionPool) Get

func (*SimpleConnectionPool) Open

func (*SimpleConnectionPool) Put

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL