Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateService ¶
type CreateService struct {
Alias string `form:"alias" json:"alias" binding:"required"`
}
CreateService 角色创建服务
type DeleteService ¶
type DeleteService struct {
ID int `form:"id" json:"id" binding:"required"`
}
DeleteService 角色删除服务
type ModuleService ¶
type ModuleService struct { RoleID int `form:"roleId" json:"roleId" binding:"required"` ModuleID int `form:"moduleId" json:"moduleId" binding:"required"` }
ModuleService 角色模块服务
func (*ModuleService) Add ¶
func (receiver *ModuleService) Add() (err error)
func (*ModuleService) Remove ¶
func (receiver *ModuleService) Remove() error
type ProxyService ¶
type ProxyService struct { RoleID int `form:"roleId" json:"roleId" binding:"required"` ProxyID int `form:"proxyId" json:"proxyId" binding:"required"` }
ProxyService 角色模块服务
func (*ProxyService) Add ¶
func (receiver *ProxyService) Add() (err error)
func (*ProxyService) Remove ¶
func (receiver *ProxyService) Remove() error
type ViewService ¶
type ViewService struct { }
ViewService 查看服务
func (ViewService) Execute ¶
func (receiver ViewService) Execute() (interface{}, error)
Click to show internal directories.
Click to hide internal directories.