Documentation
¶
Index ¶
- type Memory
- func (s *Memory) Connect() error
- func (s *Memory) Del(key string) error
- func (s *Memory) DisConnect() error
- func (s *Memory) Exists(key string) bool
- func (s *Memory) Expire(key string, dur time.Duration) error
- func (s *Memory) Get(key string) (string, error)
- func (s *Memory) GetDel(key string) (string, error)
- func (s *Memory) HDel(key, field string) error
- func (s *Memory) HExists(key, field string) error
- func (s *Memory) HGet(key, field string) (string, error)
- func (s *Memory) HGetAll(key string) (map[string]string, error)
- func (s *Memory) HSet(key, field, value string) error
- func (s *Memory) Incr(key string) (int64, error)
- func (s *Memory) Set(key, value string, expire time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.