Documentation
¶
Index ¶
- type KVModule
- func (kv *KVModule) Cleanup() error
- func (kv *KVModule) CreateGlobalObject(runtime *sobek.Runtime) sobek.Value
- func (kv *KVModule) GetGlobalName() string
- func (kv *KVModule) IsEnabled(enabledModules map[string]bool) bool
- func (kv *KVModule) Name() string
- func (kv *KVModule) Setup(runtime *sobek.Runtime, manager *vm.VMManager) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KVModule ¶
type KVModule struct {
// contains filtered or unexported fields
}
KVModule provides key-value storage per VM instance
func NewKVModule ¶
func NewKVModule() *KVModule
NewKVModule creates a new KV module with isolated storage
func (*KVModule) CreateGlobalObject ¶
CreateGlobalObject creates the kv object for global access
func (*KVModule) GetGlobalName ¶
GetGlobalName returns the global name for this module
Click to show internal directories.
Click to hide internal directories.