default_tcp_nongo1.20.go 255 B

123456789101112131415
  1. //go:build !go1.20
  2. package inbound
  3. import (
  4. "context"
  5. "net"
  6. "os"
  7. )
  8. const go120Available = false
  9. func listenTFO(listenConfig net.ListenConfig, ctx context.Context, network string, address string) (net.Listener, error) {
  10. return nil, os.ErrInvalid
  11. }