role

package
v4.0.0-beta2 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Overview

Package role is in charge of managing user roles

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(role *idm.Role) (*idm.Role, bool, error)
	Delete(query sql.Enquirer) (numRows int64, e error)
	Search(query sql.Enquirer, output *[]*idm.Role) error
	Count(query sql.Enquirer) (int32, error)
}

DAO interface

Directories

Path Synopsis
Package grpc provides persistence layer for CRUD-ing roles
Package grpc provides persistence layer for CRUD-ing roles
Package rest provides a gateway to the underlying grpc server
Package rest provides a gateway to the underlying grpc server

Jump to

Keyboard shortcuts

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