Commit bd5578db authored by wang's avatar wang

111

parent e77cf593
package main
import (
"fmt"
nested "github.com/antonfisher/nested-logrus-formatter"
"github.com/gin-gonic/gin"
"github.com/sirupsen/logrus"
......@@ -46,6 +47,7 @@ func main() {
logrus.SetOutput(logWriter)
//logrus.SetOutput(io.MultiWriter(logWriter, os.Stdout))
//logrus.SetOutput(os.Stdout)
fmt.Println("VERSION 1.0.1")
r := gin.New() //创建一个默认的路由引擎
r.Use(LoggerMiddleware())
r.POST("/tls/forward", tls.Forward)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment