Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct {
// contains filtered or unexported fields
}
func InitEnvironment ¶
func NewEnvironment ¶
func NewEnvironment(logger *slog.Logger, viper *viper.Viper, serviceContainer *ServiceContainer) *Environment
func (*Environment) Logger ¶
func (e *Environment) Logger() *slog.Logger
func (*Environment) Services ¶
func (e *Environment) Services() *ServiceContainer
func (*Environment) WithRequestId ¶
func (e *Environment) WithRequestId(c *gin.Context) *Environment
type ServiceContainer ¶
type ServiceContainer struct {
// contains filtered or unexported fields
}
func (*ServiceContainer) Auth ¶
func (c *ServiceContainer) Auth() sharedServices.IAuthService
func (*ServiceContainer) Healthcheck ¶
func (c *ServiceContainer) Healthcheck() sharedServices.IHealthcheckService
func (*ServiceContainer) Profile ¶
func (c *ServiceContainer) Profile() sharedServices.IProfileService
func (*ServiceContainer) Record ¶
func (c *ServiceContainer) Record() *services.RecordService
Click to show internal directories.
Click to hide internal directories.