Documentation
¶
Overview ¶
Package controller provides http handling.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alert ¶
type Alert struct{}
Alert is a alert controller - handleres served http request
func (Alert) Create ¶
func (Alert) Create(ctx goctx.Context) gin.HandlerFunc
Create handlerFunc for create alert.
type Controller ¶
Controller describes routable controller of http group methods.
type User ¶
type User struct{}
User is a user controller - handleres served http request in context of user changing / getting.
func (User) Create ¶
func (User) Create(ctx goctx.Context) gin.HandlerFunc
Create handlerFunc for create user.
JSON struct as parameter.
Click to show internal directories.
Click to hide internal directories.