Documentation ¶
Index ¶
- Constants
- func Cors() gin.HandlerFunc
- func JsonRspErr(c *gin.Context, errCode *errCode.ErrCode, err error)
- func JsonRspOk(c *gin.Context, data interface{}, printData bool)
- func ListDirHandler() gin.HandlerFunc
- func LogHeader() gin.HandlerFunc
- func Test() gin.HandlerFunc
- func TestHandler() gin.HandlerFunc
- func UploadHandler() gin.HandlerFunc
Constants ¶
View Source
const LogHeaderKey = "LOGHEADERKEY"
LogHeaderKey 日志header存当前连接的ip和端口
Variables ¶
This section is empty.
Functions ¶
func Cors ¶
func Cors() gin.HandlerFunc
func ListDirHandler ¶
func ListDirHandler() gin.HandlerFunc
func LogHeader ¶
func LogHeader() gin.HandlerFunc
func Test ¶
func Test() gin.HandlerFunc
func TestHandler ¶
func TestHandler() gin.HandlerFunc
func UploadHandler ¶
func UploadHandler() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.