api

package
v0.0.0-...-327d889 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

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 *Api) AuthStatus(c *gin.Context)

func (*Api) CreateRecipe

func (api *Api) CreateRecipe(c *gin.Context)

func (*Api) DeleteRecipe

func (api *Api) DeleteRecipe(c *gin.Context)

func (*Api) Login

func (api *Api) Login(c *gin.Context)

func (*Api) Logout

func (api *Api) Logout(c *gin.Context)

func (*Api) Register

func (api *Api) Register(c *gin.Context)

func (*Api) ReplaceRecipe

func (api *Api) ReplaceRecipe(c *gin.Context)

func (*Api) RetrieveIngredients

func (api *Api) RetrieveIngredients(c *gin.Context)

func (*Api) RetrieveRecipe

func (api *Api) RetrieveRecipe(c *gin.Context)

func (*Api) RetrieveRecipes

func (api *Api) RetrieveRecipes(c *gin.Context)

func (*Api) RetrieveTags

func (api *Api) RetrieveTags(c *gin.Context)

func (*Api) Status

func (api *Api) Status(c *gin.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL