package
0.0.16
Repository: https://github.com/blackbx/service-framework.git
Documentation: pkg.go.dev

# Functions

NewLoggerFactory will create a new instance of a logger factory.
NewMiddleware returns you a new instance of the Logger middleware.
NewPrintLogger creates a new instance of the PrintLogger.
NewResponseLogger returns you an instance of a *ResponseLogger.

# Variables

Service is the exported variable that can be used by the framework package.

# Structs

LoggerFactory is a type that can create instances of loggers.
PrintLogger implements a generalised logging interface.
ResponseLogger is a ResponseWriter that is able to log the status code of the response.

# Type aliases

LoggerConstructor is a type that can give you an instance of a logger.