server/ipc/server_handlers_windows.go

17 lines
225 B
Go
Raw Normal View History

2017-10-26 21:30:55 +09:00
package ipc
import (
"net"
"gopkg.in/natefinch/npipe.v2"
)
2017-10-27 16:07:14 +09:00
// Addr is ex:\\.\pipe\server
2017-10-26 21:30:55 +09:00
func (sh *ServerHandlers) Listen() (net.Listener, error) {
return npipe.Listen(s.path)
}
2017-10-26 21:34:15 +09:00
2017-10-27 17:53:26 +09:00
func (sh *ServerHandlers) OnStop() {
2017-10-26 21:34:15 +09:00
}