domain

package
v2.3.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2019 License: OSL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PermissionAnonymous = "RoleAnonymous"
	PermissionUser      = "RoleUser"
)

Variables

View Source
var (
	RoleAnonymous = Role(PermissionAnonymous)
	RoleUser      = Role(PermissionUser)
)

Functions

This section is empty.

Types

type Role

type Role string

func (Role) Id

func (r Role) Id() string

func (Role) Label

func (r Role) Label() string

func (Role) Permission

func (r Role) Permission() string

type RoleSet

type RoleSet interface {
	Roles() []Role
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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