Documentation
¶
Index ¶
- type Server
- func (srv *Server) IngredientsGetAll(ctx echo.Context) error
- func (srv *Server) IngredientsGetByID(ctx echo.Context) error
- func (srv *Server) OnStart(ctx context.Context) error
- func (srv *Server) OnStop(ctx context.Context) error
- func (srv *Server) RecipesAddRecipeToFavorite(ctx echo.Context) error
- func (srv *Server) RecipesAddRecipeToShoppingCart(ctx echo.Context) error
- func (srv *Server) RecipesCreate(ctx echo.Context) error
- func (srv *Server) RecipesDeleteByID(ctx echo.Context) error
- func (srv *Server) RecipesDownloadShoppingCart(ctx echo.Context) error
- func (srv *Server) RecipesGetAll(ctx echo.Context) error
- func (srv *Server) RecipesGetByID(ctx echo.Context) error
- func (srv *Server) RecipesRemoveRecipeFromFavorite(ctx echo.Context) error
- func (srv *Server) RecipesRemoveRecipeFromShoppingCart(ctx echo.Context) error
- func (srv *Server) RecipesUpdateByID(ctx echo.Context) error
- func (srv *Server) TagsGetAll(ctx echo.Context) error
- func (srv *Server) TagsGetByID(ctx echo.Context) error
- func (srv *Server) TokensLogin(ctx echo.Context) error
- func (srv *Server) TokensLogout(ctx echo.Context) error
- func (srv *Server) UsersCreate(ctx echo.Context) error
- func (srv *Server) UsersGetAll(ctx echo.Context) error
- func (srv *Server) UsersGetByID(ctx echo.Context) error
- func (srv *Server) UsersGetMe(ctx echo.Context) error
- func (srv *Server) UsersGetSubscriptions(ctx echo.Context) error
- func (srv *Server) UsersSetPassword(ctx echo.Context) error
- func (srv *Server) UsersSubscribe(ctx echo.Context) error
- func (srv *Server) UsersUnsubscribe(ctx echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is HTTP server struct. Includes logger, router, service, etc.
func (*Server) IngredientsGetAll ¶
func (*Server) IngredientsGetByID ¶
func (*Server) OnStart ¶
OnStart is function which starts http server.
It must be called only once on starting of server life cycle.
Could be used in fx Hooks.
func (*Server) RecipesAddRecipeToFavorite ¶
func (*Server) RecipesAddRecipeToShoppingCart ¶
func (*Server) RecipesCreate ¶
func (*Server) RecipesDeleteByID ¶
func (*Server) RecipesDownloadShoppingCart ¶
func (*Server) RecipesGetAll ¶
func (*Server) RecipesGetByID ¶
func (*Server) RecipesRemoveRecipeFromFavorite ¶
func (*Server) RecipesRemoveRecipeFromShoppingCart ¶
func (*Server) RecipesUpdateByID ¶
func (*Server) TagsGetAll ¶
func (*Server) TagsGetByID ¶
func (*Server) TokensLogin ¶
func (*Server) TokensLogout ¶
func (*Server) UsersCreate ¶
func (*Server) UsersGetAll ¶
func (*Server) UsersGetByID ¶
func (*Server) UsersGetMe ¶
func (*Server) UsersGetSubscriptions ¶
func (*Server) UsersSetPassword ¶
func (*Server) UsersSubscribe ¶
func (*Server) UsersUnsubscribe ¶
Click to show internal directories.
Click to hide internal directories.