summaryrefslogtreecommitdiff
path: root/pkg/helper/linux.go
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-04-22 23:52:04 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-04-30 22:10:27 +0200
commite05f5aa352f6ba55562a0afade0fa9046aeaf0d1 (patch)
treee225f9c4cb33cd5d0b0fb2b1c9b4a07c47d836a4 /pkg/helper/linux.go
parente3baef0e9e36e1b0f3e899ef8e83520004b50a29 (diff)
[pkg] initialize service early for windows
Diffstat (limited to 'pkg/helper/linux.go')
-rw-r--r--pkg/helper/linux.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkg/helper/linux.go b/pkg/helper/linux.go
index 5aa7e14..235351b 100644
--- a/pkg/helper/linux.go
+++ b/pkg/helper/linux.go
@@ -45,10 +45,13 @@ func parseCliArgs() {
// linux helper does not reply to args
}
+func initializeService(port int) {}
+
func daemonize() {}
-func doHandleCommands(port int) {
- runCommandServer("localhost:" + strconv.Itoa(port))
+func runServer(port int) {
+ // defined in helper.go
+ serveHTTP("localhost:" + strconv.Itoa(port))
}
func getOpenvpnPath() string {