Documentation
¶
Index ¶
- func NewState(connectionString string) (state.State, error)
- type TablesState
- func (t *TablesState) Get() *state.Grid
- func (t *TablesState) GetList(listUri string) *state.List
- func (t *TablesState) Lock(listUri string) error
- func (t *TablesState) Save(s *state.Grid) error
- func (t *TablesState) SaveList(listUri string, entityState *state.List) error
- func (t *TablesState) Unlock(listUri string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TablesState ¶
TablesState struct
func (*TablesState) GetList ¶
func (t *TablesState) GetList(listUri string) *state.List
GetEnt gets entity state
func (*TablesState) Lock ¶
func (t *TablesState) Lock(listUri string) error
Lock locks entity sync for other clients
func (*TablesState) SaveList ¶
func (t *TablesState) SaveList(listUri string, entityState *state.List) error
SaveEnt saves entity state
func (*TablesState) Unlock ¶
func (t *TablesState) Unlock(listUri string) error
Unlock unlocks entity sync for other clients
Click to show internal directories.
Click to hide internal directories.