github.com/elves/Elvish@v0.12.0/daemon/sock_unix.go (about)

     1  // +build !windows,!plan9
     2  
     3  package daemon
     4  
     5  import "net"
     6  
     7  func listen(path string) (net.Listener, error) {
     8  	return net.Listen("unix", path)
     9  }
    10  
    11  func dial(path string) (net.Conn, error) {
    12  	return net.Dial("unix", path)
    13  }