Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Kernel = kernel.New[*config.Config]( kernel.Config(config.Load), kernel.Bootstrap( database.Init, func(ctx context.Context, k *kernel.Kernel) error { resources.View = view.Factory(k.DependencyProvider(), resources.Content, "**/*.html") return nil }, ), kernel.Providers( salusadi.Register[*models.User], event.RegisterChannelQueue, providers.Register, ), kernel.Services( cron.Service(). Schedule("* * * * *", &events.LogEvent{Message: "cron event"}), event.Service( event.NewListener[*jobs.LogJob](), ), ), kernel.InitRoutes(routes.InitRoutes), )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.