handles

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAdmin

func GetAdmin(w http.ResponseWriter, r *http.Request)

func GetManufacturers

func GetManufacturers(w http.ResponseWriter, r *http.Request)

func GetModels

func GetModels(w http.ResponseWriter, r *http.Request)

func GetRegions

func GetRegions(w http.ResponseWriter, r *http.Request)

func GetTrims

func GetTrims(w http.ResponseWriter, r *http.Request)

func Lookup

func Lookup(w http.ResponseWriter, r *http.Request)

@Title Validate and Deserialize @Description Gets the details of a VIN after validation @Success 200 {[]core.Profile} []core.Portfolio] @router /:vin [get]

func SearchAdmin

func SearchAdmin(w http.ResponseWriter, r *http.Request)

@router /all/:pagesize [get]

func SearchRegions

func SearchRegions(w http.ResponseWriter, r *http.Request)

@router /:pagesize/:query== [get]

func SetupRoutes

func SetupRoutes(issuer, audience string) http.Handler

func UpdateRegion

func UpdateRegion(w http.ResponseWriter, r *http.Request)

@router /v1/region/ [put]

func Validate

func Validate(w http.ResponseWriter, r *http.Request)

@Title Validate @Description Attempts to validate the vin @Success 200 {bool} bool @router /:vin [get]

func ViewAdmin

func ViewAdmin(w http.ResponseWriter, r *http.Request)

/v1/vin/:key

func ViewRegions

func ViewRegions(w http.ResponseWriter, r *http.Request)

/v1/region/:key

Types

This section is empty.

Jump to

Keyboard shortcuts

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