Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware() wish.Middleware
Middleware returns a middleware that logs the elapsed time of the session.
This must be called as the last middleware in the chain.
func MiddlewareWithFormat ¶
func MiddlewareWithFormat(format string) wish.Middleware
MiddlewareWithFormat returns a middleware that logs the elapsed time of the session. It accepts a format string to print the elapsed time.
This must be called as the last middleware in the chain.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.