Documentation ¶
Overview ¶
this storage can be used for projects that do not store much data and do not save memory
Index ¶
- type Storage
- func (s *Storage) Close() error
- func (s *Storage) Dump(L *lua.LState) (map[string]lua.LValue, error)
- func (s *Storage) Get(key string, L *lua.LState) (lua.LValue, bool, error)
- func (s *Storage) Keys() ([]string, error)
- func (st *Storage) New(filename string) (interfaces.Driver, error)
- func (s *Storage) Set(key string, value lua.LValue, ttl int64) error
- func (s *Storage) Sync() 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.