18 lines
230 B
Go
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() {
|
|
|
|
}
|