Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FoodHandler ¶
type FoodHandler struct {
// contains filtered or unexported fields
}
func NewFoodHander ¶
func NewFoodHander(stg storage.Storage, logger *zap.Logger) *FoodHandler
func (*FoodHandler) DeleteAPI ¶
func (r *FoodHandler) DeleteAPI(c *gin.Context)
func (*FoodHandler) GetAPI ¶
func (r *FoodHandler) GetAPI(c *gin.Context)
func (*FoodHandler) ListAPI ¶
func (r *FoodHandler) ListAPI(c *gin.Context)
func (*FoodHandler) SetAPI ¶
func (r *FoodHandler) SetAPI(c *gin.Context)
type FoodSetAPIRequest ¶
Click to show internal directories.
Click to hide internal directories.