example

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExampleController

func ExampleController()

ExampleController @Router /api/data-view/v1/form_view GET @Permission 管理逻辑视图 读取

func PostExampleController

func PostExampleController()

PostExampleController @Router /api/data-view/v1/form_view/{id} POST @Permission 管理逻辑视图 管理 @Permission 管理数据质量 管理

func ServiceACRegister

func ServiceACRegister(engine *gin.Engine, rs []*MenuResource)

Types

type MenuResource struct {
	ServiceName string `json:"service_name"`
	Path        string `json:"path"`
	Method      string `json:"method"`
	Action      string `json:"action"`
	Resource    string `json:"resource"`
}

Jump to

Keyboard shortcuts

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