mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-07 18:07:23 -05: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
|
|
}
|