AppURL returns a map of app name to app base URL for all the configured server apps.
()
| 790 | // AppURL returns a map of app name to app base URL for all the configured |
| 791 | // server apps. |
| 792 | func (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 | |
| 800 | func mustCreate(path string) *os.File { |
| 801 | f, err := os.Create(path) |
no test coverage detected