Documentation ¶ Overview ¶ Package workspace implements workspace persistence layer. It is currently backed by a SQL db. Index ¶ func NewDAO(ctx context.Context, o dao.DAO) (dao.DAO, error) type DAO Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewDAO ¶ func NewDAO(ctx context.Context, o dao.DAO) (dao.DAO, error) Types ¶ type DAO ¶ type DAO interface { resources.DAO // Add creates or updates a workspace in the database. // It returns true in case of an update. Add(interface{}) (bool, error) Del(sql.Enquirer) (numRows int64, e error) Search(sql.Enquirer, *[]interface{}) error } DAO interface Source Files ¶ View all Source files dao.go sql.go Directories ¶ Show internal Expand all Path Synopsis grpc Package grpc provides the persistence for workspaces Package grpc provides the persistence for workspaces rest Package rest provides a gateway to the underlying grpc service Package rest provides a gateway to the underlying grpc service Click to show internal directories. Click to hide internal directories.