1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00

recycler interface

This commit is contained in:
Darien Raymond 2016-11-27 08:47:24 +01:00
parent b3c5b6b8a2
commit b2e084c78c
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -8,6 +8,10 @@ import (
"v2ray.com/core/common/signal"
)
type ConnectionRecyler interface {
Put(ConnectionId, net.Conn)
}
type ConnectionId struct {
Local v2net.Address
Remote v2net.Address