Using struct for VPN connection settings
This commit is contained in:
9
internal/models/openvpn.go
Normal file
9
internal/models/openvpn.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package models
|
||||
|
||||
import "net"
|
||||
|
||||
type OpenVPNConnection struct {
|
||||
IP net.IP
|
||||
Port uint16
|
||||
Protocol NetworkProtocol
|
||||
}
|
||||
Reference in New Issue
Block a user