MCPcopy
hub / github.com/gofiber/fiber / executeOnPostStartupMessageHooks

Method executeOnPostStartupMessageHooks

hooks.go:420–428  ·  view source on GitHub ↗
(data *PostStartupMessageData)

Source from the content-addressed store, hash-verified

418}
419
420func (h *Hooks) executeOnPostStartupMessageHooks(data *PostStartupMessageData) error {
421 for _, handler := range h.onPostStartup {
422 if err := handler(data); err != nil {
423 return err
424 }
425 }
426
427 return nil
428}
429
430func (h *Hooks) executeOnPreShutdownHooks() {
431 for _, v := range h.onPreShutdown {

Callers 2

startupMessageMethod · 0.80

Calls

no outgoing calls