constant

package
v0.0.0-...-fce7651 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ADMIN     = UserRole("ADMIN")
	NON_ADMIN = UserRole("NON_ADMIN")
)

Variables

View Source
var (
	CONTEXT_KEY_USER         = ContextKey("user")
	CONTEXT_KEY_REQUEST_USER = ContextKey("request-user")
)
View Source
var (
	DEV    = Environment("dev")
	DOCKER = Environment("docker")
)
View Source
var (
	DEFAULT_ENV_SERVER_PORT = DefaultEnv(8080)
)
View Source
var (
	DEFAULT_TIME_LAYOUT = Default(time.DateTime)
)

Functions

This section is empty.

Types

type ContextKey

type ContextKey any

type Default

type Default any

type DefaultEnv

type DefaultEnv any

type Environment

type Environment string

type UserRole

type UserRole string

Jump to

Keyboard shortcuts

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