Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultMemoryStore = NewMemoryStore()
Functions ¶
Types ¶
type MemoryStore ¶
func NewMemoryStore ¶
func NewMemoryStore() *MemoryStore
func (*MemoryStore) Close ¶
func (ms *MemoryStore) Close() error
func (*MemoryStore) Del ¶
func (ms *MemoryStore) Del(key string) error
type RedisStore ¶
type RedisStore struct {
// contains filtered or unexported fields
}
func NewRedisStore ¶
func NewRedisStore(network, address, password string) (*RedisStore, error)
func (*RedisStore) Close ¶
func (rs *RedisStore) Close() error
func (*RedisStore) Del ¶
func (rs *RedisStore) Del(key string) error
Click to show internal directories.
Click to hide internal directories.