package
0.3.2
Repository: https://github.com/konfortes/go-server-utils.git
Documentation: pkg.go.dev

# Functions

GetEnvOr gets an environment variable or returns ifNotFound value.
GracefulShutdown shuts down srv gracefully ane executes shutdown hooks.
InitJaeger inits and returns a Jaeger tracer and closer.
SetMiddlewares ..
SetRoutes sets /metrics and /health routes.

# Variables

RequestDuration is a histogram metric to report request duration.
ShutdownHooks is a hooks slice that can be appended to execute code on shutdown.