Documentation ¶
Index ¶
- type Api
- func (a Api) Authenticate(r *rest.Request) bool
- func (a Api) GetRecipeById(w rest.ResponseWriter, r *rest.Request)
- func (a Api) GetRecipes(w rest.ResponseWriter, r *rest.Request)
- func (a Api) Login(w rest.ResponseWriter, r *rest.Request)
- func (a Api) Logout(w rest.ResponseWriter, r *rest.Request)
- func (a Api) NewRecipe(w rest.ResponseWriter, r *rest.Request)
- func (a Api) Signup(w rest.ResponseWriter, r *rest.Request)
- func (a Api) Validate(data interface{}) []error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
func (Api) GetRecipeById ¶
func (a Api) GetRecipeById(w rest.ResponseWriter, r *rest.Request)
func (Api) GetRecipes ¶
func (a Api) GetRecipes(w rest.ResponseWriter, r *rest.Request)
Click to show internal directories.
Click to hide internal directories.