auth

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: 6 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.Login) middleware.Responder

MiddleWare handles the route call

Types

type Auth

type Auth struct {
	Request *http.Request
	Handler ao.Claims
	Login   models.Login
}

SwitchConfig is a struct for the http objects

func (*Auth) WriteResponse

func (a *Auth) 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