func (d *Driver) Leave(w http.ResponseWriter, r *http.Request) { req, err := util.JSONDecode(r) log.Printf("Leave request: %v\n", req) util.JSONResponse(w, map[string]interface{}{"Err": err}) }
func (d *Driver) EndpointOperInfo(w http.ResponseWriter, r *http.Request) { req, _ := util.JSONDecode(r) log.Printf("EndpointOperInfo request: %v\n", req) util.JSONResponse(w, map[string]interface{}{"value": map[string]string{"driver": "dispatcher"}}) }