env

package
v0.0.0-...-6eddc5e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

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 InitEnvironment(ctx *gin.Context, viper *viper.Viper, db *mongo.Database) (*Environment, error)

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 (*ServiceContainer) Healthcheck

func (*ServiceContainer) Profile

func (*ServiceContainer) Record

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL