permissions

package
v0.0.0-...-dcf7d21 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: GPL-2.0 Imports: 1 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 int
const (
	CanEdit Permission = iota + 1
)

type Permissions

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

func FromString

func FromString(permstr string) *Permissions

func (*Permissions) HasPermission

func (p *Permissions) HasPermission(perm Permission) bool

func (*Permissions) ToString

func (p *Permissions) ToString() string

Jump to

Keyboard shortcuts

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