17 lines
226 B
Go
17 lines
226 B
Go
package ipc
|
|
|
|
import (
|
|
"net"
|
|
|
|
"gopkg.in/natefinch/npipe.v2"
|
|
)
|
|
|
|
// Addr is ex:\\.\pipe\server
|
|
func (sh *ServerHandlers) Listen() (net.Listener, error) {
|
|
return npipe.Listen(s.path)
|
|
}
|
|
|
|
func (sh *ServerHandlers) Stopped() {
|
|
|
|
}
|