github.com/xmplusdev/xmcore@v1.8.11-0.20240412132628-5518b55526af/core/mocks.go (about) 1 package core 2 3 //go:generate go run github.com/golang/mock/mockgen -package mocks -destination ../testing/mocks/io.go -mock_names Reader=Reader,Writer=Writer io Reader,Writer 4 //go:generate go run github.com/golang/mock/mockgen -package mocks -destination ../testing/mocks/log.go -mock_names Handler=LogHandler github.com/xmplusdev/xmcore/common/log Handler 5 //go:generate go run github.com/golang/mock/mockgen -package mocks -destination ../testing/mocks/mux.go -mock_names ClientWorkerFactory=MuxClientWorkerFactory github.com/xmplusdev/xmcore/common/mux ClientWorkerFactory 6 //go:generate go run github.com/golang/mock/mockgen -package mocks -destination ../testing/mocks/dns.go -mock_names Client=DNSClient github.com/xmplusdev/xmcore/features/dns Client 7 //go:generate go run github.com/golang/mock/mockgen -package mocks -destination ../testing/mocks/outbound.go -mock_names Manager=OutboundManager,HandlerSelector=OutboundHandlerSelector github.com/xmplusdev/xmcore/features/outbound Manager,HandlerSelector 8 //go:generate go run github.com/golang/mock/mockgen -package mocks -destination ../testing/mocks/proxy.go -mock_names Inbound=ProxyInbound,Outbound=ProxyOutbound github.com/xmplusdev/xmcore/proxy Inbound,Outbound