MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / BaseClientConn

Struct BaseClientConn

internal/nodes/client_conn_base.go:14–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12)
13
14type 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
34func (this *BaseClientConn) IsClosed() bool {
35 return this.isClosed

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected