categorize read and write error

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

No files matched your search

+2
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