import "go.chromium.org/luci/server/warmup"
Package warmup allows to register hooks executed during the server warmup.
All registered hooks should be optional. Warmup can be skipped.
func InstallHandlers(r *router.Router, base router.MiddlewareChain)
InstallHandlers installs HTTP handlers for warmup /_ah/* routes.
Register adds a callback called during warmup.
Warmup executes all registered warmup callbacks, sequentially.
Doesn't abort on individual callback errors, just collects and returns them all.
Callback will be called during warmup.
Package warmup imports 6 packages (graph) and is imported by 14 packages. Updated 2019-02-22. Refresh now. Tools for package owners.