role

package
v2.2.0-rc1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: AGPL-3.0 Imports: 19 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(o dao.DAO) dao.DAO

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