MCPcopy Create free account
hub / github.com/devfeel/dotweb / SetProductionMode

Method SetProductionMode

dotweb.go:222–225  ·  view source on GitHub ↗

SetProductionMode set run mode on production mode

()

Source from the content-addressed store, hash-verified

220
221// SetProductionMode set run mode on production mode
222func (app *DotWeb) SetProductionMode() {
223 app.Config.App.RunMode = RunMode_Production
224 app.appLog.SetEnabledConsole(true)
225}
226
227// ExcludeUse registers a middleware exclude routers
228// like exclude /index or /query/:id

Callers

nothing calls this directly

Calls 1

SetEnabledConsoleMethod · 0.65

Tested by

no test coverage detected