systemd sockets are not applicable for windows. However compilation should not fail on windows
11 lines
162 B
Go
11 lines
162 B
Go
package anyhttp
|
|
|
|
import (
|
|
"errors"
|
|
"net"
|
|
)
|
|
|
|
func makeFdListener(fd int, name string) (net.Listener, error) {
|
|
return nil, errors.New("windows not supported")
|
|
}
|