controller

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RoleSpecController

type RoleSpecController struct {
	controller.BaseController
}

* 控制层代码需要做数据转换,调用服务层的代码,由于数据转换的结构不一致,因此每个实体(外部rest方式访问)的控制层都需要写一遍

func (*RoleSpecController) GetMetaDefinition

func (this *RoleSpecController) GetMetaDefinition(ctx iris.Context)

func (*RoleSpecController) GetRoleSpec

func (this *RoleSpecController) GetRoleSpec(ctx iris.Context)

func (*RoleSpecController) ParseJSON

func (this *RoleSpecController) ParseJSON(json []byte) (interface{}, error)

func (*RoleSpecController) Upload

func (this *RoleSpecController) Upload(ctx iris.Context)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL