Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(ctrl *Controller) *echo.Echo
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController( createIngredientInputPort usecase.CreateIngredientInputPort, listIngredientsInputPort usecase.ListIngredientsInputPort, deleteIngredientInputPort usecase.DeleteIngredientInputPort, ) *Controller
func (*Controller) CreateIngredient ¶
func (ctr *Controller) CreateIngredient(c echo.Context) error
func (*Controller) DeleteIngredient ¶
func (ctr *Controller) DeleteIngredient(c echo.Context) error
func (*Controller) ListIngredients ¶
func (ctr *Controller) ListIngredients(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.