server/ipc/server_handlers_windows.go

17 lines
225 B
Go
Raw Normal View History

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