github.com/danielpfeifer02/quic-go-prio-packs@v0.41.0-28/mockgen.go (about)

     1  //go:build gomock || generate
     2  
     3  package quic
     4  
     5  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_send_conn_test.go github.com/danielpfeifer02/quic-go-prio-packs SendConn"
     6  type SendConn = sendConn
     7  
     8  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_raw_conn_test.go github.com/danielpfeifer02/quic-go-prio-packs RawConn"
     9  type RawConn = rawConn
    10  
    11  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_sender_test.go github.com/danielpfeifer02/quic-go-prio-packs Sender"
    12  type Sender = sender
    13  
    14  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_stream_internal_test.go github.com/danielpfeifer02/quic-go-prio-packs StreamI"
    15  type StreamI = streamI
    16  
    17  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_crypto_stream_test.go github.com/danielpfeifer02/quic-go-prio-packs CryptoStream"
    18  type CryptoStream = cryptoStream
    19  
    20  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_receive_stream_internal_test.go github.com/danielpfeifer02/quic-go-prio-packs ReceiveStreamI"
    21  type ReceiveStreamI = receiveStreamI
    22  
    23  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_send_stream_internal_test.go github.com/danielpfeifer02/quic-go-prio-packs SendStreamI"
    24  type SendStreamI = sendStreamI
    25  
    26  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_stream_getter_test.go github.com/danielpfeifer02/quic-go-prio-packs StreamGetter"
    27  type StreamGetter = streamGetter
    28  
    29  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_stream_sender_test.go github.com/danielpfeifer02/quic-go-prio-packs StreamSender"
    30  type StreamSender = streamSender
    31  
    32  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_crypto_data_handler_test.go github.com/danielpfeifer02/quic-go-prio-packs CryptoDataHandler"
    33  type CryptoDataHandler = cryptoDataHandler
    34  
    35  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_frame_source_test.go github.com/danielpfeifer02/quic-go-prio-packs FrameSource"
    36  type FrameSource = frameSource
    37  
    38  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_ack_frame_source_test.go github.com/danielpfeifer02/quic-go-prio-packs AckFrameSource"
    39  type AckFrameSource = ackFrameSource
    40  
    41  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_stream_manager_test.go github.com/danielpfeifer02/quic-go-prio-packs StreamManager"
    42  type StreamManager = streamManager
    43  
    44  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_sealing_manager_test.go github.com/danielpfeifer02/quic-go-prio-packs SealingManager"
    45  type SealingManager = sealingManager
    46  
    47  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_unpacker_test.go github.com/danielpfeifer02/quic-go-prio-packs Unpacker"
    48  type Unpacker = unpacker
    49  
    50  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_packer_test.go github.com/danielpfeifer02/quic-go-prio-packs Packer"
    51  type Packer = packer
    52  
    53  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_mtu_discoverer_test.go github.com/danielpfeifer02/quic-go-prio-packs MTUDiscoverer"
    54  type MTUDiscoverer = mtuDiscoverer
    55  
    56  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_conn_runner_test.go github.com/danielpfeifer02/quic-go-prio-packs ConnRunner"
    57  type ConnRunner = connRunner
    58  
    59  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_quic_conn_test.go github.com/danielpfeifer02/quic-go-prio-packs QUICConn"
    60  type QUICConn = quicConn
    61  
    62  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_packet_handler_test.go github.com/danielpfeifer02/quic-go-prio-packs PacketHandler"
    63  type PacketHandler = packetHandler
    64  
    65  //go:generate sh -c "go run go.uber.org/mock/mockgen -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_packet_handler_manager_test.go github.com/danielpfeifer02/quic-go-prio-packs PacketHandlerManager"
    66  
    67  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -build_flags=\"-tags=gomock\" -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_packet_handler_manager_test.go github.com/danielpfeifer02/quic-go-prio-packs PacketHandlerManager"
    68  type PacketHandlerManager = packetHandlerManager
    69  
    70  // Need to use source mode for the batchConn, since reflect mode follows type aliases.
    71  // See https://github.com/golang/mock/issues/244 for details.
    72  //
    73  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -source sys_conn_oob.go -destination mock_batch_conn_test.go -mock_names batchConn=MockBatchConn"
    74  
    75  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_token_store_test.go github.com/danielpfeifer02/quic-go-prio-packs TokenStore"
    76  //go:generate sh -c "go run go.uber.org/mock/mockgen -typed -package quic -self_package github.com/danielpfeifer02/quic-go-prio-packs -self_package github.com/danielpfeifer02/quic-go-prio-packs -destination mock_packetconn_test.go net PacketConn"