domain

package
v3.0.0-alpha4 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2019 License: OSL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RoleUser = Role("RoleUser")

RoleUser is the default Role for users

Functions

This section is empty.

Types

type Role

type Role string

Role is an available role

func (Role) Label

func (r Role) Label() string

Label returns the role's label

func (Role) Permission

func (r Role) Permission() string

Permission returns the role's permission identifier

type RoleSet

type RoleSet interface {
	Roles() []Role
}

RoleSet is a list of roles

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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