v2ray-core/app/proxyman/mux/mux.go

20 lines
247 B
Go
Raw Normal View History

2017-02-07 20:11:47 +00:00
package mux
import "v2ray.com/core/common/net"
2017-03-26 23:47:01 +00:00
const (
maxParallel = 8
maxTotal = 128
)
2017-02-07 20:11:47 +00:00
type mergerWorker struct {
}
2017-03-26 23:47:01 +00:00
func (w *mergerWorker) isFull() bool {
return true
}
2017-02-07 20:11:47 +00:00
type Merger struct {
sessions map[net.Destination]mergerWorker
}