workspace

package
v2.0.2-dev.20191219+in... Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: AGPL-3.0 Imports: 14 Imported by: 9

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