From fc32f89c9344913e62389f65e33c142bcd3fec4e Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 26 Oct 2017 21:34:15 +0900 Subject: [PATCH] ing --- ipc/ipc_unix.go | 4 ++++ ipc/ipc_windows.go | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/ipc/ipc_unix.go b/ipc/ipc_unix.go index 57e7eed..f70e6e1 100644 --- a/ipc/ipc_unix.go +++ b/ipc/ipc_unix.go @@ -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) +} diff --git a/ipc/ipc_windows.go b/ipc/ipc_windows.go index 0674028..bacede0 100644 --- a/ipc/ipc_windows.go +++ b/ipc/ipc_windows.go @@ -11,3 +11,7 @@ func (sh *ServerHandlers) Listen() (net.Listener, error) { return npipe.Listen(s.path) } + +func (sh *ServerHandlers) Stopped() { + +}