1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-06-14 14:59:58 -04:00

refactor mux client worker

This commit is contained in:
Darien Raymond
2018-10-25 09:32:03 +02:00
parent a69217b584
commit 53870f1ea7
5 changed files with 141 additions and 35 deletions

View File

@@ -4,5 +4,6 @@ package core
//go:generate go install github.com/golang/mock/mockgen
//go:generate mockgen -package mocks -destination testing/mocks/io.go -mock_names Reader=Reader,Writer=Writer io Reader,Writer
//go:generate mockgen -package mocks -destination testing/mocks/mux.go -mock_names ClientWorkerFactory=MuxClientWorkerFactory v2ray.com/core/common/mux ClientWorkerFactory
//go:generate mockgen -package mocks -destination testing/mocks/dns.go -mock_names Client=DNSClient v2ray.com/core/features/dns Client
//go:generate mockgen -package mocks -destination testing/mocks/proxy.go -mock_names Inbound=ProxyInbound,Outbound=ProxyOutbound v2ray.com/core/proxy Inbound,Outbound