func()

in openwhisk/actionProxy.go [207:220]


func (ap *ActionProxy) ServeHTTP(w http.ResponseWriter, r *http.Request) {
	switch r.URL.Path {
	case "/init":
		ap.initHandler(w, r)
	case "/run":
		ap.runHandler(w, r)
	case "/stop":
		ap.stopHandler(w, r)
	}

	if Debugging && r.URL.Path == "/reset" {
		ap.resetHandler(w, r)
	}
}