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 DefaultEnv ¶
type DefaultEnv any
type Environment ¶
type Environment string
Click to show internal directories.
Click to hide internal directories.