(conn ziface.IConnection)
| 26 | } |
| 27 | |
| 28 | func DoClientConnectedBegin(conn ziface.IConnection) { |
| 29 | zlog.Debug("DoConnectionBegin is Called ... ") |
| 30 | |
| 31 | conn.SetProperty("Name", "刘丹冰Aceld") |
| 32 | conn.SetProperty("Home", "https://yuque.com/aceld") |
| 33 | |
| 34 | go business(conn) |
| 35 | } |
| 36 | |
| 37 | func DoClientConnectedLost(conn ziface.IConnection) { |
| 38 | if name, err := conn.GetProperty("Name"); err == nil { |
nothing calls this directly
no test coverage detected