Versions in this module Expand all Collapse all v0 v0.0.0 Dec 26, 2025 Changes in this version + func GetObjectReferenceID(value json.RawMessage) (int64, bool) + func IsObjectReference(value json.RawMessage) bool + type CreateOptions struct + ID int64 + NoWatch bool + ParentID int64 + Properties map[string]string + Unbound bool + Value json.RawMessage + type ObjectReference struct + Obj int64 + type Store struct + func NewStore(cfg *config.Config) *Store + func (s *Store) Count() int + func (s *Store) Create(opts CreateOptions) (int64, error) + func (s *Store) Destroy(id int64) error + func (s *Store) Get(id int64) (*Variable, bool) + func (s *Store) GetAll() []*Variable + func (s *Store) GetByName(name string) (*Variable, bool) + func (s *Store) GetChildren(parentID int64) []*Variable + func (s *Store) Log(level int, format string, args ...interface{}) + func (s *Store) RegisterStandardVariable(name string, id int64) error + func (s *Store) ResolveObjectReference(ref json.RawMessage) (json.RawMessage, error) + func (s *Store) Update(id int64, value json.RawMessage, properties map[string]string) error + func (s *Store) WatchProperty(varID int64, property string, callback func(value interface{})) + type Variable struct + ID int64 + MonitoredValue interface{} + ParentID int64 + Properties map[string]string + StoredValue interface{} + Unbound bool + Value interface{} + WrapperInstance interface{} + func NewVariable(id int64) *Variable + func (v *Variable) GetID() int64 + func (v *Variable) GetProperties() map[string]string + func (v *Variable) GetProperty(name string) string + func (v *Variable) GetStoredValue() interface{} + func (v *Variable) GetValue() interface{} + func (v *Variable) GetWrapperInstance() interface{} + func (v *Variable) GetWrapperTypeName() string + func (v *Variable) HasWrapper() bool + func (v *Variable) IsObjectReference() bool + func (v *Variable) IsStandardVariable() bool + func (v *Variable) IsUnbound() bool + func (v *Variable) SetProperties(props map[string]string) + func (v *Variable) SetProperty(name, value string) + func (v *Variable) SetStoredValue(value interface{}) + func (v *Variable) SetValue(value interface{}) + func (v *Variable) SetWrapperInstance(wrapper interface{})