middleware

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHostsForIP

func GetHostsForIP(ip string) ([]string, bool)

GetHostsForIP returns all host names for the given IP (if cached).

func Log

func Log() aero.Middleware

Log middleware logs every request into logs/request.log and errors into logs/error.log.

func Session

func Session() aero.Middleware

Session middleware saves an existing session if it has been modified.

func UserInfo

func UserInfo() aero.Middleware

UserInfo updates user related information after each request.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL