ing
This commit is contained in:
parent
187ef708f6
commit
fc32f89c93
|
@ -14,3 +14,7 @@ func (sh *ServerHandlers) Listen() (net.Listener, error) {
|
||||||
|
|
||||||
return net.ListenUnix("unix", &net.UnixAddr{Name: sh.path, Net: "unix"})
|
return net.ListenUnix("unix", &net.UnixAddr{Name: sh.path, Net: "unix"})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (sh *ServerHandlers) Stopped() {
|
||||||
|
os.Remove(sh.path)
|
||||||
|
}
|
||||||
|
|
|
@ -11,3 +11,7 @@ func (sh *ServerHandlers) Listen() (net.Listener, error) {
|
||||||
|
|
||||||
return npipe.Listen(s.path)
|
return npipe.Listen(s.path)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (sh *ServerHandlers) Stopped() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user