MCPcopy
hub / github.com/pocketbase/pocketbase / OnBootstrap

Method OnBootstrap

core/app.go:714–714  ·  view source on GitHub ↗

--------------------------------------------------------------- App event hooks --------------------------------------------------------------- OnBootstrap hook is triggered when initializing the main application resources (db, app settings, etc).

()

Source from the content-addressed store, hash-verified

712 // OnBootstrap hook is triggered when initializing the main application
713 // resources (db, app settings, etc).
714 OnBootstrap() *hook.Hook[*BootstrapEvent]
715
716 // OnServe hook is triggered when the app web server is started
717 // (after starting the TCP listener but before initializing the blocking serve task),

Callers 3

NewWithConfigFunction · 0.65
NewTestAppWithConfigFunction · 0.65
RegisterFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected