permissions

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Permission

type Permission struct {
	Method   string
	Resource string
	Accept   bool
}

type Permissions

type Permissions struct {
	All []*Permission
	// contains filtered or unexported fields
}

type Role

type Role struct {
	Name        string
	Permissions Permissions
}

type RoleList

type RoleList struct {
	// contains filtered or unexported fields
}

func (*RoleList) Init

func (inst *RoleList) Init(text string)

type RoleManager

type RoleManager struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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