types

package
v0.0.0-...-68e8b16 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextKey

type ContextKey string

ContextKey alias type from string, to be passed via http.Request contexts.

type Role

type Role string

Role representing the permission level of a user within the system.

const (
	UserRole      Role = "user"
	AdminRole     Role = "admin"
	OrganizerRole Role = "organizer"
)

func (Role) IsValid

func (role Role) IsValid() bool

Jump to

Keyboard shortcuts

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