Documentation ¶
Index ¶
- type Memory
- func (m *Memory) Decrease(ctx context.Context, key string) 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) Increase(ctx context.Context, key string) 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 ¶
Click to show internal directories.
Click to hide internal directories.