feat(logger): delete Logger()
This commit is contained in:
parent
f61302d25f
commit
f1729f129a
@ -168,7 +168,8 @@ func (cli *Client) Connect() {
|
|||||||
}
|
}
|
||||||
cli.port = fmt.Sprintf("%d", listener.Addr().(*net.TCPAddr).Port)
|
cli.port = fmt.Sprintf("%d", listener.Addr().(*net.TCPAddr).Port)
|
||||||
|
|
||||||
router := gin.Default()
|
router := gin.New()
|
||||||
|
router.Use(gin.Recovery())
|
||||||
gin.SetMode(gin.ReleaseMode)
|
gin.SetMode(gin.ReleaseMode)
|
||||||
|
|
||||||
router.POST("/:label", func(c *gin.Context) {
|
router.POST("/:label", func(c *gin.Context) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user