package
0.1.0
Repository: https://github.com/tsvetanmilanov/go-srv.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetReqDI tries to get the request di from the context.
GetRequestLoggerOrDefaultChild returns the request logger or the child of the default logger.
NewAppBuilder creates new web application builder.

# Constants

AppDIName is the name of the app di container.
AppLoggerName is the name of the app logger instance.
ReqDIName is the name of the req di container.
ReqLoggerName is the name of the req logger instance.
TraceIDName is the name of the trace id property.
TraceIDReqHeaderName is the name of the header which will be used to acquire trace id.

# Interfaces

App provides methods for working with the web app.
AppBuilder provides method to build the web application.
AppConfigurator provides method for configuring the application.
AppDependenciesRegisterer provides method for registering the app dependencies.
AppDependenciesResolver provides method for resolving all app dependencies.
AppInitializer provides method for initializing the web application.
DefaultMiddlewaresConfigurator provides method which adds the default middlewares to the router.
MetricsServerConfigurator provides methods for configuring the metrics server.
ReqDIConfiguratorRegisterer provides method for configuring the request di.
RouterConfigurator provides method for configuring the router.
RouterRegisterer provides method for registering the app router.
TraceIDProvider provides methods for acquiring trace id.

# Type aliases

DIContainerUser is a function which receives a di container and provides implementation which uses it.
RequestDIConfiguratorFunc function which can be used to configure the request di.
RouterConfiguratorFunc function which can be used to configure the router.