Versions in this module Expand all Collapse all v0 v0.3.0 Jun 18, 2025 v0.2.0 Jun 13, 2025 Changes in this version + type Cache interface + Del func(ctx context.Context, key string) error + Get func(ctx context.Context, key string) ([]byte, error) + Set func(ctx context.Context, key string, value []byte, timeout time.Duration) error + func NewCache() Cache + type CacheModule struct + func NewCacheModule() *CacheModule + func (c *CacheModule) Cleanup() error + func (c *CacheModule) CreateModuleObject(runtime *sobek.Runtime) sobek.Value + func (c *CacheModule) IsEnabled(enabledModules map[string]bool) bool + func (c *CacheModule) Name() string + func (c *CacheModule) Setup(runtime *sobek.Runtime, manager *vm.VMManager) error