github.com/apernet/quic-go@v0.43.1-0.20240515053213-5e9e635fd9f0/http3/mockgen.go (about)

     1  //go:build gomock || generate
     2  
     3  package http3
     4  
     5  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\"  -package http3 -destination mock_singleroundtripper_test.go github.com/apernet/quic-go/http3 SingleRoundTripper"
     6  type SingleRoundTripper = singleRoundTripper
     7  
     8  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -package http3 -destination mock_quic_early_listener_test.go github.com/apernet/quic-go/http3 QUICEarlyListener"