Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetLogger ¶
SetLogger returns a middleware that logs the start and end of each request, along with some useful data about what was requested, what the response status was, and how long it took to return. Taken from https://github.com/jonnylangefeld/go-api/blob/master/pkg/middelware/logger.go Inspired by https://github.com/treastech/logger
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.