mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-07-08 22:34:21 -04:00
20 lines
247 B
Go
20 lines
247 B
Go
package mux
|
|
|
|
import "v2ray.com/core/common/net"
|
|
|
|
const (
|
|
maxParallel = 8
|
|
maxTotal = 128
|
|
)
|
|
|
|
type mergerWorker struct {
|
|
}
|
|
|
|
func (w *mergerWorker) isFull() bool {
|
|
return true
|
|
}
|
|
|
|
type Merger struct {
|
|
sessions map[net.Destination]mergerWorker
|
|
}
|