Documentation
¶
Index ¶
- func GetHostsForIP(ip string) ([]string, bool)
- func HTTPSRedirect(next aero.Handler) aero.Handler
- func Layout(next aero.Handler) aero.Handler
- func Log(next aero.Handler) aero.Handler
- func OpenGraph(next aero.Handler) aero.Handler
- func Recover(next aero.Handler) aero.Handler
- func Session(next aero.Handler) aero.Handler
- func UserInfo(next aero.Handler) aero.Handler
- type OpenGraphContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHostsForIP ¶
GetHostsForIP returns all host names for the given IP (if cached).
func HTTPSRedirect ¶ added in v1.2.1
HTTPSRedirect middleware redirects to HTTPS if needed.
func Layout ¶ added in v1.2.0
Layout middleware modifies the response body to be wrapped around the general layout.
func OpenGraph ¶ added in v1.2.0
OpenGraph middleware modifies the context to be an OpenGraphContext.
Types ¶
Click to show internal directories.
Click to hide internal directories.