Documentation ¶
Overview ¶
Package domain provides domain-specific configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentDomainFromContext ¶
CurrentDomainFromContext retrieves the current domain from a context set by the middleware.
func Middleware ¶
Middleware is a middleware setting domain-specific configuration into the request context.
Types ¶
type ConfigItem ¶
ConfigItem is one item of the configuration list.
type CtxConfig ¶
CtxConfig contains domain-specific settings related to a request context.
func ConfigFromContext ¶
ConfigFromContext retrieves the current domain configuration from a context set by the middleware.
Click to show internal directories.
Click to hide internal directories.