role

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2023 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 Priority

type Priority int
const (
	Unknown Priority = iota
	Low
	High
)

func (*Priority) Scan

func (p *Priority) Scan(val any) error

func (Priority) String

func (p Priority) String() string

func (Priority) Value

func (p Priority) Value() (driver.Value, error)

func (Priority) Values

func (Priority) Values() []string

type Role

type Role string
const (
	Admin     Role = "ADMIN"
	Owner     Role = "OWNER"
	User      Role = "USER"
	Read      Role = "READ"
	Write     Role = "WRITE"
	ReadWrite Role = "READ+WRITE"
)

func (Role) Values

func (Role) Values() (roles []string)

Jump to

Keyboard shortcuts

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