Documentation ¶
Index ¶
- type Memory
- func (m *Memory) Decrease(ctx context.Context, key string) (int64, error)
- func (m *Memory) Del(ctx context.Context, key string) error
- func (m *Memory) Expire(ctx context.Context, key string, dur time.Duration) error
- func (m *Memory) Get(ctx context.Context, key string) (*gvar.Var, error)
- func (m *Memory) HashDel(ctx context.Context, hk, key string) error
- func (m *Memory) HashGet(ctx context.Context, hk, key string) (*gvar.Var, error)
- func (m *Memory) HashGetAll(ctx context.Context, key string) (*gvar.Var, error)
- func (m *Memory) HashLen(ctx context.Context, key string) (int64, error)
- func (m *Memory) HashMGet(ctx context.Context, key string, fields ...string) (gvar.Vars, error)
- func (m *Memory) HashMSet(ctx context.Context, key string, fields map[string]interface{}) error
- func (m *Memory) HashSet(ctx context.Context, key string, fields map[string]interface{}) (int64, error)
- func (m *Memory) HashVals(ctx context.Context, key string) (gvar.Vars, error)
- func (m *Memory) Increase(ctx context.Context, key string) (int64, error)
- func (m *Memory) ListLPush(ctx context.Context, key string, values ...interface{}) (int64, error)
- func (m *Memory) ListRPop(ctx context.Context, key string, count ...int) (*gvar.Var, error)
- func (m *Memory) ListRange(ctx context.Context, key string, start, stop int64) (gvar.Vars, error)
- func (m *Memory) Set(ctx context.Context, key string, val interface{}, expire int) error
- func (*Memory) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Memory ¶
type Memory struct {
// contains filtered or unexported fields
}
func (*Memory) HashGetAll ¶ added in v2.0.32
Click to show internal directories.
Click to hide internal directories.