Documentation
¶
Overview ¶
package types -- типы плагина
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IStore ¶
type IStore interface {
// Put -- добавляет в хранилище значение по ключу
Put(key string, value []byte) error
// Get -- возвращает значение по ключу
Get(key string) ([]byte, error)
// Del -- удаляет значение по ключу
Del(key string) error
// Find -- возвращает список ключей по префиксу
Find(prefix string) ([]string, error)
}
IStore -- интерфейс хранилища
Click to show internal directories.
Click to hide internal directories.