type BootstrapHook func(*Cosys) error
BootstrapHook is a hook called during the bootstrap stage of the app.
type CleanupHook func(*Cosys) error
CleanupHook is a hook called during the cleanup stage of the app.