Documentation ¶
Index ¶
- type Info
- type InfoKV
- type InfoSection
- type Infos
- type Redis
- func (r *Redis) Close() error
- func (r *Redis) Codec(action string, key string, data string, encoding string) string
- func (r *Redis) DataType(key string) (string, error)
- func (r *Redis) DatabaseList() ([]int64, error)
- func (r *Redis) Exists(key string) (bool, error)
- func (r *Redis) FindKeys(pattern string) ([]string, error)
- func (r *Redis) Info() ([]*Infos, error)
- func (r *Redis) Init(ctx echo.Context, auth *driver.DbAuth)
- func (r *Redis) IsSupported(operation string) bool
- func (r *Redis) Login() (err error)
- func (r *Redis) Name() string
- func (r *Redis) ObjectEncoding(key string) (string, error)
- func (r *Redis) SetString(key string, value string) error
- func (r *Redis) TTL(key string) (int64, error)
- func (r *Redis) ViewValue(key string, typ string, encoding string) (ret string, siz int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { Map map[string]*InfoSection Idx []string }
func (*Info) MustSection ¶
func (a *Info) MustSection(sectionName string) *InfoSection
type InfoKV ¶
func (*InfoKV) ParseKeyspace ¶
type InfoSection ¶
func NewInfoSection ¶
func NewInfoSection() *InfoSection
func (*InfoSection) Add ¶
func (a *InfoSection) Add(key string, val string) *InfoSection
type Infos ¶
func ParseInfos ¶
type Redis ¶
type Redis struct { *driver.BaseDriver // contains filtered or unexported fields }
func (*Redis) IsSupported ¶
func (*Redis) ObjectEncoding ¶
ObjectEncoding 获取对象编码方式
Click to show internal directories.
Click to hide internal directories.