role

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2025 License: Apache-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 Kind

type Kind int

Kind is the type of a role.

const (
	// Unknown operator signals invalid role type.
	Unknown Kind = iota
	// Anonymous indicates anonymous.
	Anonymous
	// Admin indicates role with administrative privileges.
	Admin
	// User indicates role with user privileges.
	User
	// Guest indicates role with guest privileges.
	Guest
)

func (Kind) String

func (e Kind) String() string

String returns string representation of a role type.

Jump to

Keyboard shortcuts

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