2018-10-22 09:58:52 -04:00
|
|
|
package core
|
|
|
|
|
|
|
|
//go:generate go get -u github.com/golang/mock/gomock
|
|
|
|
//go:generate go install github.com/golang/mock/mockgen
|
2018-10-24 06:02:02 -04:00
|
|
|
|
|
|
|
//go:generate mockgen -package mocks -destination testing/mocks/io.go -mock_names Reader=Reader,Writer=Writer io Reader,Writer
|
2018-10-25 03:32:03 -04:00
|
|
|
//go:generate mockgen -package mocks -destination testing/mocks/mux.go -mock_names ClientWorkerFactory=MuxClientWorkerFactory v2ray.com/core/common/mux ClientWorkerFactory
|
2018-10-23 16:41:27 -04:00
|
|
|
//go:generate mockgen -package mocks -destination testing/mocks/dns.go -mock_names Client=DNSClient v2ray.com/core/features/dns Client
|
2018-11-07 15:25:43 -05:00
|
|
|
//go:generate mockgen -package mocks -destination testing/mocks/outbound.go -mock_names Manager=OutboundManager,HandlerSelector=OutboundHandlerSelector v2ray.com/core/features/outbound Manager,HandlerSelector
|
2018-10-23 16:41:27 -04:00
|
|
|
//go:generate mockgen -package mocks -destination testing/mocks/proxy.go -mock_names Inbound=ProxyInbound,Outbound=ProxyOutbound v2ray.com/core/proxy Inbound,Outbound
|