(cfg *Config, apiPath string)
| 840 | } |
| 841 | |
| 842 | func addHTTPAPIPrefix(cfg *Config, apiPath string) string { |
| 843 | return path.Join(cfg.HTTPAPIPrefix, apiPath) |
| 844 | } |
| 845 | |
| 846 | func echoHandler() http.HandlerFunc { |
| 847 | return func(w http.ResponseWriter, r *http.Request) { |
no test coverage detected