Documentation
¶
Overview ¶
*
- @Time: 2019/1/15 14:50
- @Author: wangmin
- @File: inner_connection.go
- @Software: GoLand
*
- @Time: 2019/1/15 14:01
- @Author: wangmin
- @File: inner_to_outer_connection.go
- @Software: GoLand
Index ¶
Constants ¶
View Source
const StatusClose = 4
View Source
const StatusInit = 0
View Source
const StatusOk = 2
View Source
const StatusProxy = 3
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InnerConnection ¶
type InnerConnection struct { Id uint64 // 连接id Status int // 连接状态 AuthKey string // 授权码 Created int64 // 创建时间 Conn net.Conn // 内网服务连接对象 StatusMonitor func(id uint64, status int) // contains filtered or unexported fields }
内部连接对象
Click to show internal directories.
Click to hide internal directories.