This commit is contained in:
crusader 2017-10-26 21:34:15 +09:00
parent 187ef708f6
commit fc32f89c93
2 changed files with 8 additions and 0 deletions

View File

@ -14,3 +14,7 @@ func (sh *ServerHandlers) Listen() (net.Listener, error) {
return net.ListenUnix("unix", &net.UnixAddr{Name: sh.path, Net: "unix"})
}
func (sh *ServerHandlers) Stopped() {
os.Remove(sh.path)
}

View File

@ -11,3 +11,7 @@ func (sh *ServerHandlers) Listen() (net.Listener, error) {
return npipe.Listen(s.path)
}
func (sh *ServerHandlers) Stopped() {
}