handlers

package
v0.0.0-...-0997622 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAddressHandler

func CreateAddressHandler(addressDb db.AddressDB, ctrl controller.Controller, params addresses.CreateAddressParams) middleware.Responder

func ListAddressesHandler

func ListAddressesHandler(addressDb db.AddressDB, params addresses.ListAddressesParams) middleware.Responder

func NewCreateErrorResponse

func NewCreateErrorResponse(model *models.ErrorModel) middleware.Responder

func NewDeleteErrorResponse

func NewDeleteErrorResponse(model *models.ErrorModel) middleware.Responder

func NewErrorModel

func NewErrorModel(status int32, title string, details string) *models.ErrorModel

func NewErrorResponse

func NewErrorResponse(error *models.ErrorModel) *models.ErrorResponse

func NewListErrorResponse

func NewListErrorResponse(model *models.ErrorModel) middleware.Responder

func NewPutErrorResponse

func NewPutErrorResponse(model *models.ErrorModel) middleware.Responder

func PutAddressesHandler

func PutAddressesHandler(addressDb db.AddressDB, ctrl controller.Controller, params addresses.PutAddressesParams) middleware.Responder

Types

This section is empty.

Jump to

Keyboard shortcuts

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