mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-10-24 08:14:34 +00:00
recycler interface
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user