Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiHandler ¶
type ApiHandler interface {
RegisterRoutes(router *gin.Engine, middlewares RouteMiddlewares)
}
type RouteMiddlewares ¶
type RouteMiddlewares struct { Auth gin.HandlerFunc RoleFactory func(...string) gin.HandlerFunc BannedUser gin.HandlerFunc DeletedUser gin.HandlerFunc }
Click to show internal directories.
Click to hide internal directories.