Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultXRealIP ¶ added in v1.14.0
DefaultXRealIP sets the X-Real-Ip header to the given value if and only if it is not an empty string.
func UnchangingCache ¶
UnchangingCache sets the Cache-Control header to cache a response for 1 year if and only if the application is compiled in "release" mode by Docker.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.