Documentation
¶
Overview ¶
Package domain provides utilities to inject and retrieve the original request domain in and from the context.
Index ¶
Constants ¶
View Source
const DomainKey contextKey = "domain"
Variables ¶
This section is empty.
Functions ¶
func DomainFromContext ¶
DomainFromContext is a helper function that retrieves the domain from the context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.