role

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 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 added in v0.9.0

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

func (*Priority) Scan added in v0.9.0

func (p *Priority) Scan(val interface{}) error

func (Priority) String added in v0.9.0

func (p Priority) String() string

func (Priority) Value added in v0.9.0

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

func (Priority) Values added in v0.9.0

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"
)

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