You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 lines
392 B

package middleware
import (
"github.com/gin-gonic/gin"
)
// HttpInterceptor 可自定义鉴权等操作
// TODO
func HttpInterceptor() gin.HandlerFunc {
return func(c *gin.Context) {
c.Next()
}
}
// ProbePayloadInterceptor 探测 ffmpeg 命令服务器是否有资源得以运行
// TODO
func ProbePayloadInterceptor() gin.HandlerFunc {
return func(c *gin.Context) {
c.Next()
}
}