switch_firmware

package
v0.0.0-...-e56e09a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MiddleWare

func MiddleWare(r *http.Request, body *models.Switch) middleware.Responder

MiddleWare handles the route call

Types

type SwitchFirmware

type SwitchFirmware struct {
	Request *http.Request
	Client  switch_operations.ISwitch
}

SwitchConfig is a struct for the http objects

func (*SwitchFirmware) WriteResponse

func (c *SwitchFirmware) WriteResponse(rw http.ResponseWriter, rp runtime.Producer)

WriteResponse implements the CRUD logic behind the /credentials route

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL