1
mirror of https://github.com/rclone/rclone synced 2024-12-01 10:31:57 +01:00
rclone/cmd/serve/docker/unix_unsupported.go
2021-09-09 20:43:59 +03:00

14 lines
248 B
Go

//go:build !linux && !freebsd
// +build !linux,!freebsd
package docker
import (
"errors"
"net"
)
func newUnixListener(path string, gid int) (net.Listener, string, error) {
return nil, "", errors.New("unix sockets require Linux or FreeBSD")
}