Documentation
¶
Index ¶
Constants ¶
View Source
const (
CACHE_KEY_PREFIX = "persistence:cache"
)
Variables ¶
This section is empty.
Functions ¶
func NewWrapper ¶
Types ¶
type Persistence ¶
type Persistence struct {
// contains filtered or unexported fields
}
func GetPersistence ¶
func GetPersistence() *Persistence
func (*Persistence) Delete ¶
func (c *Persistence) Delete(tenantId string, pluginId string, key string) error
type PersistenceStorage ¶
type PersistenceStorage interface {
Save(tenant_id string, plugin_checksum string, key string, data []byte) error
Load(tenant_id string, plugin_checksum string, key string) ([]byte, error)
Delete(tenant_id string, plugin_checksum string, key string) error
StateSize(tenant_id string, plugin_checksum string, key string) (int64, error)
}
Click to show internal directories.
Click to hide internal directories.