func handlerSetValue(w http.ResponseWriter, r *http.Request) { vars := mux.Vars(r) data := se.SetValue(vars["id"], vars["value"]) weblib.WriteResponse(w, data, nil) }
// deviceList // Function generated from srcgen func handlerChannelStates(wr http.ResponseWriter, req *http.Request) { weblib.WriteResponse(wr, se.AllChannelStates(), nil) }