1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-04 03:10:18 +00:00

split into small files

This commit is contained in:
astaxie
2015-05-27 23:46:45 +08:00
parent ae37689314
commit 3abd01799d
4 changed files with 370 additions and 374 deletions

13
grace/conn.go Normal file
View File

@ -0,0 +1,13 @@
package grace
import "net"
type graceConn struct {
net.Conn
server *graceServer
}
func (c graceConn) Close() error {
c.server.wg.Done()
return c.Conn.Close()
}