Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Server *gin.Engine
Functions ¶
func Init ¶
func Init[T config.HasBaseConfig](cfg T, serviceName, version string)
GetConfig is the main function for consumers to load and get their configuration. It takes a pointer to any struct type that defines the configuration schema. The struct should have appropriate mapstructure and validate tags.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.