14 lines
188 B
Go
14 lines
188 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)
|
|
}
|