Documentation ¶ Index ¶ type KV func New(providerType ProviderType) (*KV, error) func (kv *KV) GetLoader(script *script.Script) lua.LGFunction func (kv *KV) Name() string func (kv *KV) Stop() error type KVer type ProviderType Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type KV ¶ type KV struct { // contains filtered or unexported fields } func New ¶ func New(providerType ProviderType) (*KV, error) func (*KV) GetLoader ¶ func (kv *KV) GetLoader(script *script.Script) lua.LGFunction func (*KV) Name ¶ func (kv *KV) Name() string func (*KV) Stop ¶ func (kv *KV) Stop() error type KVer ¶ type KVer interface { Put(string, string) error Get(string) (string, error) Upsert(string, string) error Delete(string) error } type ProviderType ¶ type ProviderType int const ( ProviderTypeMemory ProviderType = 0 ) Source Files ¶ View all Source files kv.go Directories ¶ Show internal Expand all Path Synopsis provider Click to show internal directories. Click to hide internal directories.