github.com/MerlinKodo/quic-go@v0.39.2/integrationtests/self/go119_test.go (about)

     1  //go:build go1.19 && !go1.20
     2  
     3  package self_test
     4  
     5  import (
     6  	"errors"
     7  	"net/http"
     8  	"time"
     9  )
    10  
    11  const go120 = false
    12  
    13  var errNotSupported = errors.New("not supported")
    14  
    15  func setReadDeadline(w http.ResponseWriter, deadline time.Time) error {
    16  	return errNotSupported
    17  }
    18  
    19  func setWriteDeadline(w http.ResponseWriter, deadline time.Time) error {
    20  	return errNotSupported
    21  }