Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application interface { Container RegisterHook(function interface{}) Run() Start(ctx context.Context) error Stop(ctx context.Context) error Wait() <-chan fx.ShutdownSignal Logger() logger.Logger Environment() environment.Environment }
type ApplicationBuilder ¶
type ApplicationBuilder interface { // ProvideModule register modules directly instead and modules should not register with `provided` function ProvideModule(module fx.Option) // Provide register functions constructors as dependency resolver Provide(constructors ...interface{}) Decorate(constructors ...interface{}) Build() Application GetProvides() []interface{} GetDecorates() []interface{} Options() []fx.Option Logger() logger.Logger Environment() environment.Environment }
Click to show internal directories.
Click to hide internal directories.