workspace

package
v4.0.0-alpha3 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

Package workspace implements workspace persistence layer.

It is currently backed by a SQL db.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDAO

func NewDAO(o dao.DAO) dao.DAO

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

Directories

Path Synopsis
Package grpc provides the persistence for workspaces
Package grpc provides the persistence for workspaces
Package rest provides a gateway to the underlying grpc service
Package rest provides a gateway to the underlying grpc service

Jump to

Keyboard shortcuts

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