This website works better with JavaScript.
Home
Explore
Help
Sign In
brettlangdon
/
pypihub
mirror of
https://github.com/brettlangdon/pypihub.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1
Wiki
Activity
Browse Source
Merge pull request
#19
from a-palchikov/upstream
+windows support
Carl Jackson
12 years ago
parent
e16aa3c10c
135bdf6b4d
commit
64a1da35b0
5 changed files
with
24 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
bind/einhorn.go
+12
-0
bind/einhorn_windows.go
+2
-0
bind/systemd.go
+6
-0
bind/systemd_windows.go
+2
-0
graceful/einhorn.go
+ 2
- 0
bind/einhorn.go
View File
@ -1,3 +1,5 @@
// +build !windows
package
bind
package
bind
import
(
import
(
+ 12
- 0
bind/einhorn_windows.go
View File
@ -0,0 +1,12 @@
// +build windows
package
bind
import
(
"net"
)
func
einhornInit
(
)
{
}
func
einhornAck
(
)
{
}
func
einhornBind
(
fd
int
)
(
net
.
Listener
,
error
)
{
return
nil
,
nil
}
func
usingEinhorn
(
)
bool
{
return
false
}
+ 2
- 0
bind/systemd.go
View File
@ -1,3 +1,5 @@
// +build !windows
package
bind
package
bind
import
(
import
(
+ 6
- 0
bind/systemd_windows.go
View File
@ -0,0 +1,6 @@
// +build windows
package
bind
func
systemdInit
(
)
{
}
func
usingSystemd
(
)
bool
{
return
false
}
+ 2
- 0
graceful/einhorn.go
View File
@ -1,3 +1,5 @@
// +build !windows
package
graceful
package
graceful
import
(
import
(
Write
Preview
Loading…
Cancel
Save