model

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GatewayService  = "gateway"
	AuthService     = "auth"
	EventService    = "events"
	FightersService = "fighters"
)

Services names used in the application

View Source
const (
	DefaultPasswordLength = 64
	DefaultSaltLength     = 32
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextField

type ContextField string

ContextField represents keys used to store values in the context.

const (
	ContextUserId     ContextField = "user_id"
	ContextFlags      ContextField = "flags"
	ContextClaim      ContextField = "root_claim"
	ContextJWTPointer ContextField = "jwt_pointer"
)

Constants defining keys for commonly used context values.

Jump to

Keyboard shortcuts

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