package
0.0.0-20240806103514-652937c84b36
Repository: https://github.com/lescactus/espressoapi-go.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
# Constants
ContentTypeApplicationJSON represent the applcation/json Content-Type value.
# Variables
No description provided by the author
No description provided by the author
# Structs
BeansResponse represents coffee beans for this application
Beans have a name, a roaster, a roast date and a roast level.
swagger:parameters createBeans.
CreateBeansRequest represents the request body for creating beans swagger:model.
swagger:parameters createRoaster.
CreateRoasterRequest represents the request body for creating a roaster swagger:model.
swagger:parameters createSheet.
CreateSheetRequest represents the request body for creating a sheet swagger:model.
swagger:parameters createShot.
CreateShotRequest represents the request body for creating a shot swagger:model.
ErrorResponse represents the json response for http errors.
No description provided by the author
ItemDeletedResponse represents the response when an item is deleted swagger:model.
PingResponse represents the json response of a /ping endpoint.
RoasterResponse represents a roaster for this application
A roaster is the professional who roasts coffee beans.
SheetResponse represents a sheet for this application
A sheet is a collection of shots.
ShotResponse represents an espresso shot for this application
An espresso shot is made from coffee beans, ground at a specific setting, with a specific quantity of coffee in and out.
UpdateBeansByIdRequest represents the request body for updating beans with the given id swagger:model.
swagger:parameters updateBeansById.
UpdateRoasterByIdRequest represents the request body for updating a roaster with the given id swagger:model.
swagger:parameters updateRoasterById.
UpdateSheetByIdRequest represents the request body for updating a sheet with the given id swagger:model.
swagger:parameters updateSheetById.
UpdateShotByIdRequest represents the request body for updating a shot with the given id swagger:model.
swagger:parameters updateShotById.
# Type aliases
No description provided by the author