types

package
v0.0.0-...-5b75e16 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 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 EventType

type EventType string

Represents various types of events

const (
	OfflineEventType EventType = "offline"
	OnlineEventType  EventType = "online"
	BothEventType    EventType = "both"
)

func (EventType) IsValid

func (event_type EventType) IsValid() bool

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