Browse Source

Merge pull request #19 from a-palchikov/upstream

+windows support
Carl Jackson 12 years ago
parent
commit
64a1da35b0
5 changed files with 24 additions and 0 deletions
  1. +2
    -0
      bind/einhorn.go
  2. +12
    -0
      bind/einhorn_windows.go
  3. +2
    -0
      bind/systemd.go
  4. +6
    -0
      bind/systemd_windows.go
  5. +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 (


Loading…
Cancel
Save