MCPcopy
hub / github.com/perkeep/perkeep / StartApps

Method StartApps

pkg/serverinit/serverinit.go:772–779  ·  view source on GitHub ↗

StartApps starts all the server applications that were configured during InstallHandlers. It should only be called after perkeepd has started serving, since these apps might request some configuration from Perkeep to finish initializing.

()

Source from the content-addressed store, hash-verified

770// has started serving, since these apps might request some configuration
771// from Perkeep to finish initializing.
772func (c *Config) StartApps() error {
773 for _, ap := range c.apps {
774 if err := ap.Start(); err != nil {
775 return fmt.Errorf("error starting app %v: %v", ap.ProgramName(), err)
776 }
777 }
778 return nil
779}
780
781// UploadPublicKey uploads the public key blob with the sign handler that was
782// configured during InstallHandlers.

Callers 1

mainFunction · 0.80

Calls 2

ProgramNameMethod · 0.80
StartMethod · 0.65

Tested by

no test coverage detected