middleware

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

* @Author: haifengat hubert28@qq.com * @Date: 2023-04-04 16:23:19 * @LastEditors: haifengat hubert28@qq.com * @LastEditTime: 2023-05-11 11:33:29 * @FilePath: /feemgr-s3/middleware/cost.go * @Description:

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cors

func Cors(ctx *gin.Context)

gin 处理跨域访问

func ResponseLog

func ResponseLog(ctx *gin.Context)

ResponseLog gin响应的日志中间件

@param ctx

func StatCost

func StatCost(ctx *gin.Context)

StatCost 是一个统计耗时请求耗时的中间件

Types

This section is empty.

Jump to

Keyboard shortcuts

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