rclone/cmd/serve/docker/unix_unsupported.go

13 lines
222 B
Go
Raw Normal View History

2021-09-09 20:25:25 +08:00
//go: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")
}