Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { GetPermissionById(c *gin_context.NoSecurityContext) PutPermissionById(c *gin_context.NoSecurityContext) DeletePermissionById(c *gin_context.NoSecurityContext) CreatePermission(c *gin_context.NoSecurityContext) //BatchGetPermission(c *gin_context.NoSecurityContext) //PostGetPermissionByQuery(c *gin_context.NoSecurityContext) GetAllPermissions(c *gin_context.NoSecurityContext) }
func New ¶
func New(db *gorm.DB, service permission_service.Service) Controller
Click to show internal directories.
Click to hide internal directories.