MCPcopy Index your code
hub / github.com/TruthHun/BookStack / Run

Method Run

commands/daemon/daemon.go:44–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44func (d *Daemon) Run() {
45
46 commands.ResolveCommand(d.config.Arguments)
47
48 commands.RegisterFunction()
49
50 beego.ErrorController(&controllers.ErrorController{})
51
52 models.Init()
53
54 beego.Run()
55}
56
57func (d *Daemon) Stop(s service.Service) error {
58 if service.Interactive() {

Callers 7

StartMethod · 0.95
mainFunction · 0.80
fixFileLinksMethod · 0.80
RenderDocumentByIdFunction · 0.80
GitCloneFunction · 0.80
ExecCommandFunction · 0.80

Calls 3

ResolveCommandFunction · 0.92
RegisterFunctionFunction · 0.92
InitFunction · 0.92

Tested by

no test coverage detected