summaryrefslogtreecommitdiff
path: root/bitmask/windows.go
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-05-10 18:43:32 +0200
committerRuben Pollan <meskio@sindominio.net>2018-05-26 12:54:44 +0200
commit8382f3b14a6e82f0359a4fe68aee077c1c8665ef (patch)
tree1266717c6fe411e0c6e64baa200a9aa47d8b0e79 /bitmask/windows.go
parent5556a15effa0d3604085bc28306be72149d1adf1 (diff)
[feat] configure the zmq bitmask endpoint per platform
Windows uses tcp and linux/darwin uses a local socket.
Diffstat (limited to 'bitmask/windows.go')
-rw-r--r--bitmask/windows.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitmask/windows.go b/bitmask/windows.go
index 8babd4b..b3d41aa 100644
--- a/bitmask/windows.go
+++ b/bitmask/windows.go
@@ -18,4 +18,6 @@ package bitmask
import "os"
+const coreEndpoint = "tcp://127.0.0.1:5001"
+
var ConfigPath = os.Getenv("APPDATA") + "\\leap"