Documentation ¶ Index ¶ type Store func New() *Store func (s *Store) Create(ws webx.Workspace) error func (s *Store) Delete(id string) error func (s *Store) Get(id string) (*webx.Workspace, error) func (s *Store) List() ([]webx.Workspace, error) func (s *Store) Update(ws webx.Workspace) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Store ¶ type Store struct { // contains filtered or unexported fields } Store is an in-memory WorkspaceStore. func New ¶ func New() *Store New creates an in-memory WorkspaceStore. func (*Store) Create ¶ func (s *Store) Create(ws webx.Workspace) error func (*Store) Delete ¶ func (s *Store) Delete(id string) error func (*Store) Get ¶ func (s *Store) Get(id string) (*webx.Workspace, error) func (*Store) List ¶ func (s *Store) List() ([]webx.Workspace, error) func (*Store) Update ¶ func (s *Store) Update(ws webx.Workspace) error Source Files ¶ View all Source files memory.go Click to show internal directories. Click to hide internal directories.