package
0.0.0-20181003211919-798156fdb816
Repository: https://github.com/digitalbitsorg/go.git
Documentation: pkg.go.dev
# Functions
AddBasicMiddleware is a helper function that augments the passed in Config with some basic middleware components.
BindLoggerMiddleware returns a LoggerMiddleware bound to the passed in requestIdKey, thereby decoupling it from middleware.RequestID.
EmptyConfig gives you a new empty Config.
NewRouter creates a new router with the provided config.
Serve starts a web server by binding it to a socket and setting up the shutdown signals.