Documentation ¶
Index ¶
- type BusinessEntityController
- func (this *BusinessEntityController) AddRole(ctx iris.Context)
- func (this *BusinessEntityController) Create(ctx iris.Context)
- func (this *BusinessEntityController) Delete(ctx iris.Context)
- func (this *BusinessEntityController) Find(ctx iris.Context)
- func (this *BusinessEntityController) Get(ctx iris.Context)
- func (this *BusinessEntityController) GetActual(ctx iris.Context)
- func (this *BusinessEntityController) Load(ctx iris.Context)
- func (this *BusinessEntityController) LoadRole(ctx iris.Context)
- func (this *BusinessEntityController) RemoveRole(ctx iris.Context)
- func (this *BusinessEntityController) Save(ctx iris.Context)
- func (this *BusinessEntityController) SetValue(ctx iris.Context)
- func (this *BusinessEntityController) Update(ctx iris.Context)
- func (this *BusinessEntityController) Version(ctx iris.Context)
- type RoleController
- func (this *RoleController) Create(ctx iris.Context)
- func (this *RoleController) Find(ctx iris.Context)
- func (this *RoleController) GetActual(ctx iris.Context)
- func (this *RoleController) Load(ctx iris.Context)
- func (this *RoleController) ParseJSON(json []byte) (interface{}, error)
- func (this *RoleController) Save(ctx iris.Context)
- func (this *RoleController) Version(ctx iris.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BusinessEntityController ¶
type BusinessEntityController struct { }
func (*BusinessEntityController) AddRole ¶
func (this *BusinessEntityController) AddRole(ctx iris.Context)
func (*BusinessEntityController) Create ¶
func (this *BusinessEntityController) Create(ctx iris.Context)
func (*BusinessEntityController) Delete ¶
func (this *BusinessEntityController) Delete(ctx iris.Context)
func (*BusinessEntityController) Find ¶
func (this *BusinessEntityController) Find(ctx iris.Context)
func (*BusinessEntityController) Get ¶
func (this *BusinessEntityController) Get(ctx iris.Context)
func (*BusinessEntityController) GetActual ¶
func (this *BusinessEntityController) GetActual(ctx iris.Context)
func (*BusinessEntityController) Load ¶
func (this *BusinessEntityController) Load(ctx iris.Context)
func (*BusinessEntityController) LoadRole ¶
func (this *BusinessEntityController) LoadRole(ctx iris.Context)
func (*BusinessEntityController) RemoveRole ¶
func (this *BusinessEntityController) RemoveRole(ctx iris.Context)
func (*BusinessEntityController) Save ¶
func (this *BusinessEntityController) Save(ctx iris.Context)
func (*BusinessEntityController) SetValue ¶
func (this *BusinessEntityController) SetValue(ctx iris.Context)
func (*BusinessEntityController) Update ¶
func (this *BusinessEntityController) Update(ctx iris.Context)
func (*BusinessEntityController) Version ¶
func (this *BusinessEntityController) Version(ctx iris.Context)
type RoleController ¶
type RoleController struct {
controller.BaseController
}
* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍
func (*RoleController) Create ¶
func (this *RoleController) Create(ctx iris.Context)
func (*RoleController) Find ¶
func (this *RoleController) Find(ctx iris.Context)
func (*RoleController) GetActual ¶
func (this *RoleController) GetActual(ctx iris.Context)
func (*RoleController) Load ¶
func (this *RoleController) Load(ctx iris.Context)
func (*RoleController) ParseJSON ¶
func (this *RoleController) ParseJSON(json []byte) (interface{}, error)
func (*RoleController) Save ¶
func (this *RoleController) Save(ctx iris.Context)
func (*RoleController) Version ¶
func (this *RoleController) Version(ctx iris.Context)
Click to show internal directories.
Click to hide internal directories.