Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendInterface ¶
type MemCacheBackend ¶
type MemCacheBackend struct {
// contains filtered or unexported fields
}
func NewMemCacheBackend ¶
func NewMemCacheBackend(host, port string, poolSize int) MemCacheBackend
func (*MemCacheBackend) Activate ¶
func (r *MemCacheBackend) Activate()
func (*MemCacheBackend) GetPoolSize ¶
func (r *MemCacheBackend) GetPoolSize() int
func (*MemCacheBackend) GetResult ¶
func (r *MemCacheBackend) GetResult(key string) (message.Result, error)
func (*MemCacheBackend) SetPoolSize ¶
func (r *MemCacheBackend) SetPoolSize(n int)
type MongoBackend ¶
type MongoBackend struct {
// contains filtered or unexported fields
}
func NewMongoBackend ¶
func NewMongoBackend(host, port, user, password, db, collection string) MongoBackend
func (*MongoBackend) Activate ¶
func (r *MongoBackend) Activate()
func (*MongoBackend) GetPoolSize ¶
func (r *MongoBackend) GetPoolSize() int
func (*MongoBackend) GetResult ¶
func (r *MongoBackend) GetResult(key string) (message.Result, error)
func (*MongoBackend) SetPoolSize ¶
func (r *MongoBackend) SetPoolSize(n int)
type RedisBackend ¶
type RedisBackend struct {
// contains filtered or unexported fields
}
func NewRedisBackend ¶
func (*RedisBackend) Activate ¶
func (r *RedisBackend) Activate()
func (*RedisBackend) GetPoolSize ¶
func (r *RedisBackend) GetPoolSize() int
func (*RedisBackend) GetResult ¶
func (r *RedisBackend) GetResult(key string) (message.Result, error)
func (*RedisBackend) SetPoolSize ¶
func (r *RedisBackend) SetPoolSize(n int)
Click to show internal directories.
Click to hide internal directories.