workspace

package
v4.3.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: AGPL-3.0 Imports: 17 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(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

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