namespace

package
v4.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package namespace provides operations for managing user-metadata namespaces

Index

Constants

View Source
const (
	ReservedNamespaceBookmark = "bookmark"
)

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(ns *idm.UserMetaNamespace) error
	Del(ns *idm.UserMetaNamespace) (e error)
	List() (map[string]*idm.UserMetaNamespace, error)
}

DAO interface

Jump to

Keyboard shortcuts

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