diff options
Diffstat (limited to 'service/ipc_client.go')
-rw-r--r-- | service/ipc_client.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/service/ipc_client.go b/service/ipc_client.go index e6295b91..7e260ea7 100644 --- a/service/ipc_client.go +++ b/service/ipc_client.go @@ -141,6 +141,11 @@ func IPCClientQuit(stopTunnelsOnQuit bool) (bool, error) { return alreadyQuit, rpcClient.Call("ManagerService.Quit", stopTunnelsOnQuit, &alreadyQuit) } +func IPCClientLogFilePath() (string, error) { + var path string + return path, rpcClient.Call("ManagerService.LogFilePath", uintptr(0), &path) +} + func IPCClientRegisterTunnelChange(cb func(tunnel *Tunnel, state TunnelState, err error)) *TunnelChangeCallback { s := &TunnelChangeCallback{cb} tunnelChangeCallbacks[s] = true |