Documentation ¶
Index ¶
- Variables
- func EmptyCheck(context *models.ApiContext) *models.Error
- func GetPet(context *models.ApiContext) (*models.Response, *models.Error)
- func GetPetImage(context *models.ApiContext) (*models.Response, *models.Error)
- func Health(context *models.ApiContext) (*models.Response, *models.Error)
- func NotImplemented(context *models.ApiContext) (*models.Response, *models.Error)
Constants ¶
This section is empty.
Variables ¶
View Source
var GetPetEndpoint = models.Endpoint{ Path: "/pets/{uuid}", Method: models.GetMethod, Listener: GetPet, }
View Source
var GetPetImageEndpoint = models.Endpoint{ Path: "/pets/{uuid}/image", Method: models.GetMethod, Listener: GetPetImage, ResponseMimeType: models.MimeImagePng, }
Functions ¶
func EmptyCheck ¶
func EmptyCheck(context *models.ApiContext) *models.Error
func GetPetImage ¶
func NotImplemented ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.