Documentation ¶
Index ¶
- type Redis
- func (R *Redis) AppendItems(key, value string)
- func (R *Redis) Begin()
- func (R *Redis) Commit()
- func (R *Redis) Count(key string) int
- func (R *Redis) Create(stringConnect string) (*Redis, error)
- func (R *Redis) Delete(key string) error
- func (R *Redis) DeleteItems(key, value string) error
- func (R *Redis) Get(key string) (string, error)
- func (R *Redis) Items(key string) []string
- func (R *Redis) KeyExists(key string) bool
- func (R *Redis) LPOP(key string) string
- func (R *Redis) RPUSH(key, value string) error
- func (R *Redis) Rollback()
- func (R *Redis) Set(key, value string, ttl time.Duration) error
- func (R *Redis) SetMap(key string, value map[string]string)
- func (R *Redis) StringMap(key string) map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redis ¶
type Redis struct {
// contains filtered or unexported fields
}
func (*Redis) AppendItems ¶
Добавляет в неупорядоченную коллекцию значение
func (*Redis) DeleteItems ¶
Click to show internal directories.
Click to hide internal directories.