Documentation
¶
Index ¶
- func NewStore(yamlstore eosc.IStore) (eosc.IStore, error)
- func Register()
- type Factory
- type Store
- func (s *Store) AddListen(h eosc.IStoreEventHandler) error
- func (s *Store) All() []eosc.StoreValue
- func (s *Store) Del(id string) error
- func (s *Store) Get(id string) (eosc.StoreValue, bool)
- func (s *Store) GetListener() eosc.IStoreListener
- func (s *Store) Initialization() error
- func (s *Store) ReadLock(ctx context.Context) (bool, error)
- func (s *Store) ReadOnly() bool
- func (s *Store) ReadUnLock() error
- func (s *Store) Set(v eosc.StoreValue) error
- func (s *Store) TryLock(ctx context.Context, expire int) (bool, error)
- func (s *Store) UnLock() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) All ¶
func (s *Store) All() []eosc.StoreValue
func (*Store) GetListener ¶
func (s *Store) GetListener() eosc.IStoreListener
func (*Store) Initialization ¶
func (*Store) ReadUnLock ¶
Click to show internal directories.
Click to hide internal directories.