Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MiddleWare ¶
func MiddleWare(r *http.Request, body *models.UpdateSwitch) middleware.Responder
MiddleWare handles the route call
Types ¶
type UpdateSwitch ¶
type UpdateSwitch struct { Request *http.Request Client switch_operations.ISwitch SwitchModel string FirmwareImages []*models.FirmwareImage }
UpdateSwitch is a struct for the http objects
func (*UpdateSwitch) WriteResponse ¶
func (c *UpdateSwitch) WriteResponse(rw http.ResponseWriter, rp runtime.Producer)
WriteResponse implements the CRUD logic behind the /credentials route
Click to show internal directories.
Click to hide internal directories.