Files
gluetun/internal/constants/vpn.go

14 lines
254 B
Go
Raw Normal View History

2020-04-12 20:01:33 +00:00
package constants
const (
OpenVPN = "openvpn"
Wireguard = "wireguard"
)
2020-04-12 20:01:33 +00:00
const (
2020-10-20 02:45:28 +00:00
// TCP is a network protocol (reliable and slower than UDP).
2021-02-06 18:31:14 +00:00
TCP string = "tcp"
2020-10-20 02:45:28 +00:00
// UDP is a network protocol (unreliable and faster than TCP).
2021-02-06 18:31:14 +00:00
UDP string = "udp"
2020-04-12 20:01:33 +00:00
)