MCPcopy
hub / github.com/perkeep/perkeep / AppURL

Method AppURL

pkg/serverinit/serverinit.go:792–798  ·  view source on GitHub ↗

AppURL returns a map of app name to app base URL for all the configured server apps.

()

Source from the content-addressed store, hash-verified

790// AppURL returns a map of app name to app base URL for all the configured
791// server apps.
792func (c *Config) AppURL() map[string]string {
793 appURL := make(map[string]string, len(c.apps))
794 for _, ap := range c.apps {
795 appURL[ap.ProgramName()] = ap.BackendURL()
796 }
797 return appURL
798}
799
800func mustCreate(path string) *os.File {
801 f, err := os.Create(path)

Callers 1

mainFunction · 0.80

Calls 2

ProgramNameMethod · 0.80
BackendURLMethod · 0.80

Tested by

no test coverage detected