workspace

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package workspace implements workspace persistence layer.

It is currently backed by a MySQL 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