| 12 | ) |
| 13 | |
| 14 | type BaseClientConn struct { |
| 15 | rawConn net.Conn |
| 16 | |
| 17 | isBound bool |
| 18 | userId int64 |
| 19 | userPlanId int64 |
| 20 | serverId int64 |
| 21 | remoteAddr string |
| 22 | hasLimit bool |
| 23 | |
| 24 | isPersistent bool // 是否为持久化连接 |
| 25 | fingerprint []byte |
| 26 | |
| 27 | isClosed bool |
| 28 | |
| 29 | rawIP string |
| 30 | |
| 31 | totalSentBytes int64 |
| 32 | } |
| 33 | |
| 34 | func (this *BaseClientConn) IsClosed() bool { |
| 35 | return this.isClosed |
nothing calls this directly
no outgoing calls
no test coverage detected