server/ipc/ipc_windows.go
crusader fc32f89c93 ing
2017-10-26 21:34:15 +09:00

18 lines
230 B
Go

package ipc
import (
"net"
"gopkg.in/natefinch/npipe.v2"
)
func (sh *ServerHandlers) Listen() (net.Listener, error) {
sh.path = `\\.\pipe\` + sh.Addr
return npipe.Listen(s.path)
}
func (sh *ServerHandlers) Stopped() {
}