should work with multiple openvpn servers

the goal is to have an udp instance, and a tcp/443 one

can handle connected and disconnected messages
This commit is contained in:
Xavier Henner
2019-07-10 15:47:55 +02:00
parent 274e824630
commit 44cfdea6ed
4 changed files with 339 additions and 199 deletions

11
logs.go Normal file
View File

@@ -0,0 +1,11 @@
package main
import (
"log"
)
func (c *vpnSession) Log() error {
//TODO get asname & shit
log.Println(c)
return nil
}