Versions in this module Expand all Collapse all v1 v1.0.1 Oct 2, 2022 Changes in this version + type RestController struct + func NewRestController(r *mux.Router, dic *di.Container, serviceName string) *RestController + func (c *RestController) AddDevice(writer http.ResponseWriter, request *http.Request) + func (c *RestController) AddProvisionWatcher(writer http.ResponseWriter, request *http.Request) + func (c *RestController) AddRoute(route string, handler func(http.ResponseWriter, *http.Request), ...) errors.EdgeX + func (c *RestController) Config(writer http.ResponseWriter, request *http.Request) + func (c *RestController) DeleteDevice(writer http.ResponseWriter, request *http.Request) + func (c *RestController) DeleteProvisionWatcher(writer http.ResponseWriter, request *http.Request) + func (c *RestController) Discovery(writer http.ResponseWriter, request *http.Request) + func (c *RestController) GetCommand(w http.ResponseWriter, r *http.Request) + func (c *RestController) InitRestRoutes() + func (c *RestController) Metrics(writer http.ResponseWriter, request *http.Request) + func (c *RestController) Ping(writer http.ResponseWriter, request *http.Request) + func (c *RestController) Router() *mux.Router + func (c *RestController) Secret(writer http.ResponseWriter, request *http.Request) + func (c *RestController) SetCommand(w http.ResponseWriter, r *http.Request) + func (c *RestController) SetCustomConfigInfo(customConfig interfaces.UpdatableConfig) + func (c *RestController) UpdateDevice(writer http.ResponseWriter, request *http.Request) + func (c *RestController) UpdateDeviceService(writer http.ResponseWriter, request *http.Request) + func (c *RestController) UpdateProfile(writer http.ResponseWriter, request *http.Request) + func (c *RestController) UpdateProvisionWatcher(writer http.ResponseWriter, request *http.Request) + func (c *RestController) ValidateDevice(writer http.ResponseWriter, request *http.Request) + func (c *RestController) Version(writer http.ResponseWriter, request *http.Request)