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

categorize read and write error

This commit is contained in:
Darien Raymond
2018-10-24 12:02:02 +02:00
parent 9e66f315e6
commit c7f847c96e
5 changed files with 177 additions and 21 deletions

View File

@@ -2,5 +2,7 @@ package core
//go:generate go get -u github.com/golang/mock/gomock
//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/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