mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-03 16:24:04 +00:00
rename udp.go to hub.go
This commit is contained in:
1 file changed
+6
@@ -98,3 +98,9 @@ func (this *UDPHub) Running() bool {
|
||||
|
||||
return this.accepting
|
||||
}
|
||||
|
||||
// Connection return the net.Conn underneath this hub.
|
||||
// Private: Visible for testing only
|
||||
func (this *UDPHub) Connection() net.Conn {
|
||||
return this.conn
|
||||
}
|
||||
Reference in new issue
Block a user