Documentation ¶
Index ¶
- type Client
- type MemCacheBackend
- func (r *MemCacheBackend) Activate()
- func (r MemCacheBackend) Clone() backends.BackendInterface
- func (r *MemCacheBackend) GetPoolSize() int
- func (r *MemCacheBackend) GetResult(key string) (message.Result, error)
- func (r *MemCacheBackend) SetPoolSize(n int)
- func (r *MemCacheBackend) SetResult(result message.Result, exTime int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type MemCacheBackend ¶
type MemCacheBackend struct {
// contains filtered or unexported fields
}
func NewMemCacheBackend ¶
func NewMemCacheBackend(server []string, poolSize int) MemCacheBackend
func (*MemCacheBackend) Activate ¶
func (r *MemCacheBackend) Activate()
func (MemCacheBackend) Clone ¶
func (r MemCacheBackend) Clone() backends.BackendInterface
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)
Click to show internal directories.
Click to hide internal directories.