mirror of https://github.com/v2ray/v2ray-core
recycler interface
parent
b3c5b6b8a2
commit
b2e084c78c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue