Make sure the library compiles for windows
systemd sockets are not applicable for windows. However compilation should not fail on windows
This commit is contained in:
10
fd_windows.go
Normal file
10
fd_windows.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package anyhttp
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"net"
|
||||
)
|
||||
|
||||
func makeFdListener(fd int, name string) (net.Listener, error) {
|
||||
return nil, errors.New("windows not supported")
|
||||
}
|
Reference in New Issue
Block a user