middleware

package
v0.0.0-...-a3c49ea Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Form

func Form(c *gin.Context, body interface{})

返回form-data数据格式

func Json

func Json(c *gin.Context, body interface{})

返回json数据格式

func Proxy

func Proxy(c *gin.Context, file string, value string)

@package Proxy 接口反向代理 * @param json 返回接口数据 * @param code 接口编码 * @param message 错误信息 * @param file 文件路径 * @param value map数据key值

Types

This section is empty.

Jump to

Keyboard shortcuts

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