router

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OK  = "ok"  // 常规正确响应
	BAD = "bad" // 常规异常响应
)

Variables

This section is empty.

Functions

func Res4xx

func Res4xx(c *gin.Context, data interface{})

func Res5xx

func Res5xx(c *gin.Context, data interface{})

func Response

func Response(c *gin.Context, data interface{}, isOK bool)

Types

This section is empty.

Directories

Path Synopsis
Package router_alarm
Package router_alarm
Package router_app
Package router_app
Package router_container
Package router_container
Package router_modules 动态路由
Package router_modules 动态路由
Package router_tasks
Package router_tasks

Jump to

Keyboard shortcuts

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