Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Kernel = kernel.New( kernel.Config(config.Load), kernel.Bootstrap( salusadi.Register[*models.User](migrations.Use()), view.Register(resources.Content, "**/*.html"), providers.Register, func(ctx context.Context) error { openapidoc.RegisterFormat[uuid.UUID]("uuid") return nil }, ), kernel.Services( cron.Service(). Schedule("* * * * *", &events.LogEvent{Message: "cron event"}), event.Service( event.NewListener[*jobs.LogJob](), ), ), kernel.InitRoutes(routes.InitRoutes), kernel.APIDocumentation( openapidoc.Info(spec.InfoProps{ Title: "Salusa Example API", Description: `This is the API documentaion for the example Salusa application`, }), openapidoc.BasePath("/api"), ), )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.