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

Method MustStart

dotweb.go:375–380  ·  view source on GitHub ↗

MustStart start app server with set config If an exception occurs, will be panic it if no set Server.Port, will be use DefaultHttpPort

()

Source from the content-addressed store, hash-verified

373// If an exception occurs, will be panic it
374// if no set Server.Port, will be use DefaultHttpPort
375func (app *DotWeb) MustStart() {
376 err := app.Start()
377 if err != nil {
378 panic(err)
379 }
380}
381
382// ListenAndServe start server with addr
383// not support pprof server auto start

Callers

nothing calls this directly

Calls 1

StartMethod · 0.95

Tested by

no test coverage detected