1
0
mirror of https://github.com/astaxie/beego.git synced 2025-06-11 20:50:40 +00:00

adapt migration

This commit is contained in:
Ming Deng
2020-09-02 21:01:54 +08:00
parent 8fc4f8847c
commit bdd8df6751
5 changed files with 367 additions and 28 deletions

View File

@ -66,7 +66,6 @@ const (
var (
// DefaultReadTimeOut is the HTTP read timeout
DefaultReadTimeOut time.Duration
// DefaultWriteTimeOut is the HTTP Write timeout
@ -75,7 +74,6 @@ var (
DefaultMaxHeaderBytes int
// DefaultTimeout is the shutdown server's timeout. default is 60s
DefaultTimeout = grace.DefaultTimeout
)
// NewServer returns a new graceServer.