github.com/sagernet/quic-go@v0.43.1-beta.1/internal/ackhandler/mockgen.go (about)

     1  //go:build gomock || generate
     2  
     3  package ackhandler
     4  
     5  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\"  -package ackhandler -destination mock_sent_packet_tracker_test.go github.com/sagernet/quic-go/internal/ackhandler SentPacketTracker"
     6  type SentPacketTracker = sentPacketTracker
     7  
     8  //go:generate sh -c "go run go.uber.org/mock/mockgen -build_flags=\"-tags=gomock\"  -package ackhandler -destination mock_ecn_handler_test.go github.com/sagernet/quic-go/internal/ackhandler ECNHandler"
     9  type ECNHandler = ecnHandler