Documentation ¶
Index ¶
Constants ¶
View Source
const FxGroupLoggerContextExtractors = "loggerContextExtractors"
FxGroupLoggerContextExtractors defines group name
View Source
const (
// FxGroupMonitorContextExtractors defines group name
FxGroupMonitorContextExtractors = "monitorContextExtractors"
)
Variables ¶
This section is empty.
Functions ¶
func DefaultJWTTokenExtractor ¶
func DefaultJWTTokenExtractor() jwtInt.TokenExtractor
DefaultJWTTokenExtractor simple TokenExtractor
func DefaultLogger ¶
DefaultLogger is a constructor that will create a logger with some default values on top of provided ones
func DefaultMonitor ¶
DefaultMonitor is a constructor that will create a Metrics reporter based on values from the Config Map such as
- Tags: we will look for default tags using bricks.MonitorTagsKey within the configuration map
func Service ¶
func Service(deps webServiceDependencies) (server.WebService, error)
Service should be invoked by FX, it will build the entire dependencies graph and add lifecycle hooks
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.