github.com/artpar/rclone@v1.67.3/cmd/serve/docker/unix_unsupported.go (about)

     1  //go:build !linux && !freebsd
     2  
     3  package docker
     4  
     5  import (
     6  	"errors"
     7  	"net"
     8  )
     9  
    10  func newUnixListener(path string, gid int) (net.Listener, string, error) {
    11  	return nil, "", errors.New("unix sockets require Linux or FreeBSD")
    12  }