role

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Map = map[string]Role{
	"none":    None,
	"viewer":  Viewer,
	"editor":  Editor,
	"manager": Manager,
	"owner":   Owner,
}

Functions

This section is empty.

Types

type Role

type Role int64
const (
	None Role = iota
	Viewer
	Editor
	Manager
	Owner
)

func RoleFromString

func RoleFromString(str string) (Role, bool)

func (Role) String

func (s Role) String() string

Jump to

Keyboard shortcuts

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