github.com/xxf098/lite-proxy@v0.15.1-0.20230422081941-12c69f323218/utils/util_other.go (about) 1 // +build !linux 2 3 package utils 4 5 import ( 6 "context" 7 "net" 8 ) 9 10 func Listen(ctx context.Context, network, address string) (net.Listener, error) { 11 return net.Listen(network, address) 12 }