(method, path string)
| 222 | } |
| 223 | |
| 224 | func managementRouteKey(method, path string) string { |
| 225 | return strings.ToUpper(strings.TrimSpace(method)) + " " + strings.TrimSpace(path) |
| 226 | } |
| 227 | |
| 228 | // ServeManagementHTTP dispatches an authenticated Management API request to a plugin route. |
| 229 | func (h *Host) ServeManagementHTTP(w http.ResponseWriter, r *http.Request) bool { |
no outgoing calls
no test coverage detected