switch_version

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: 1

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 SwitchVersion

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

SwitchVersion is a struct for the http objects

func (*SwitchVersion) WriteResponse

func (c *SwitchVersion) 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