check_vlan

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.CheckVlan) middleware.Responder

MiddleWare handles the route call

Types

type CheckVlan

type CheckVlan struct {
	Request *http.Request
	Client  switch_operations.ISwitch
	VlanID  int64
}

CheckVlan is a struct for the http objects

func (*CheckVlan) WriteResponse

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