2017-10-26 12:30:55 +00:00
|
|
|
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)
|
|
|
|
}
|
2017-10-26 12:34:15 +00:00
|
|
|
|
|
|
|
func (sh *ServerHandlers) Stopped() {
|
|
|
|
|
|
|
|
}
|