Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleHTTPError ¶
func HandleHTTPError(err error) *echo.HTTPError
HandleHTTPError does what it says
Types ¶
type WebHandler ¶
type WebHandler struct {
EmptyStruct func() CObject
}
WebHandler defines the webhandler object This does web stuff, aka returns json etc. Uses CRUDable Methods to get the data
func (*WebHandler) CreateWeb ¶
func (c *WebHandler) CreateWeb(ctx echo.Context) error
CreateWeb is the handler to create an object
func (*WebHandler) DeleteWeb ¶
func (c *WebHandler) DeleteWeb(ctx echo.Context) error
DeleteWeb is the web handler to delete something
func (*WebHandler) ReadAllWeb ¶
func (c *WebHandler) ReadAllWeb(ctx echo.Context) error
ReadAllWeb is the webhandler to get all objects of a type
func (*WebHandler) ReadOneWeb ¶
func (c *WebHandler) ReadOneWeb(ctx echo.Context) error
ReadOneWeb is the webhandler to get one object
func (*WebHandler) UpdateWeb ¶
func (c *WebHandler) UpdateWeb(ctx echo.Context) error
UpdateWeb is the webhandler to update an object
Source Files ¶
Click to show internal directories.
Click to hide internal directories.