Versions in this module Expand all Collapse all v0 v0.2.0 Aug 23, 2026 Changes in this version type ApplicationService + func (service *ApplicationService) AddPreShutdownHook(hook ShutDownHook) + type ILogger = author.ILogger v0.1.0 Aug 10, 2026 Changes in this version + const ApplicationContextServiceToken + const ApplicationContextToken + const LoggerConfigToken + const LoggerToken + var BaseServiceInjections = []gioc.Token + func ApplicationContext(ctx context.Context) gioc.IProvider + func ApplicationModuleFor(config ApplicationConfig) *gioc.Module + func DeriveConfig[T any, R any](originToken, targetToken gioc.Token, provider func(T) (R, error)) gioc.IProvider + func InjectFromBase(tokens ...gioc.Token) []gioc.Token + func Logger(config author.Config) gioc.IProvider + func LoggerModule() *gioc.Module + func RegisterConfigModule[T any](params ConfigModuleParams[T]) *gioc.Module + type ApplicationConfig struct + EnableShutDownHooks bool + Interruptions []os.Signal + Parent context.Context + type ApplicationService struct + func (service *ApplicationService) AddHook(hook ShutDownHook) + func (service *ApplicationService) Await() + func (service *ApplicationService) DeriveContext() (context.Context, context.CancelFunc) + func (service *ApplicationService) Shutdown() + type BaseConfigurableService struct + Config T + func (service *BaseConfigurableService[T]) Bootstrap(impl gioc.Token, config gioc.Token, injections gioc.Injections) + type BaseService struct + ApplicationService *ApplicationService + Ctx context.Context + Logger *author.Logger + Stop context.CancelFunc + func (service *BaseService) Bootstrap(impl gioc.Token, injections gioc.Injections) + type ConfigModuleParams struct + AppConfigToken gioc.Token + LoadEnvs []EnvEntry + Providers []ConfigProviders[T] + type ConfigProviders struct + Provider func(*T) (any, error) + Token gioc.Token + type EnvEntry struct + Path string + Relative bool + type LoggerModuleConfig struct + Level author.LogLevel + type ShutDownHook func()