tables

package
v0.0.0-...-03b3635 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewState

func NewState(connectionString string) (state.State, error)

NewState Azure Starage Account Tables state constructor

Types

type TablesState

type TablesState struct {
	*state.Grid
	// contains filtered or unexported fields
}

TablesState struct

func (*TablesState) Get

func (t *TablesState) Get() *state.Grid

Get gets state

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) Save

func (t *TablesState) Save(s *state.Grid) error

Save saves state

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL