service

package
v0.0.0-...-5b4efa0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MenuRoutes = []models.Route{
	{Method: "GET", Pattern: "/health", MiddleWare: nil, HandlerFunc: health},
	{Method: "POST", Pattern: "/menu/v1/add", MiddleWare: nil, HandlerFunc: transaction.GormTx(saveMenu)},
	{Method: "GET", Pattern: "/menu/v1/:id", MiddleWare: nil, HandlerFunc: getMenu},
	{Method: "GET", Pattern: "/list/v1/menu", MiddleWare: nil, HandlerFunc: getMenuList},
	{Method: "GET", Pattern: "/front/v1/list", MiddleWare: nil, HandlerFunc: getFrontMenuList},
	{Method: "PUT", Pattern: "/menu/v1/update", MiddleWare: nil, HandlerFunc: transaction.GormTx(updateMenu)},
	{Method: "DELETE", Pattern: "/menu/v1/:id", MiddleWare: nil, HandlerFunc: transaction.GormTx(deleteMenu)},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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