Documentation ¶
Index ¶
- type Api
- func (api *Api) AuthStatus(c *gin.Context)
- func (api *Api) CreateRecipe(c *gin.Context)
- func (api *Api) DeleteRecipe(c *gin.Context)
- func (api *Api) Login(c *gin.Context)
- func (api *Api) Logout(c *gin.Context)
- func (api *Api) Register(c *gin.Context)
- func (api *Api) ReplaceRecipe(c *gin.Context)
- func (api *Api) RetrieveIngredients(c *gin.Context)
- func (api *Api) RetrieveRecipe(c *gin.Context)
- func (api *Api) RetrieveRecipes(c *gin.Context)
- func (api *Api) RetrieveTags(c *gin.Context)
- func (api *Api) Status(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct {
// contains filtered or unexported fields
}
func New ¶
func New(db *persistence.DB) *Api
func (*Api) AuthStatus ¶
func (*Api) CreateRecipe ¶
func (*Api) DeleteRecipe ¶
func (*Api) ReplaceRecipe ¶
func (*Api) RetrieveIngredients ¶
func (*Api) RetrieveRecipe ¶
func (*Api) RetrieveRecipes ¶
func (*Api) RetrieveTags ¶
Click to show internal directories.
Click to hide internal directories.