Documentation ¶
Overview ¶
Package vpngate implements parsing of http://www.vpngate.net list of VPN servers and generation of OpenVPN config.
Index ¶
Constants ¶
View Source
const CSV_URL = "http://www.vpngate.net/api/iphone/"
CSV_URL is the URL of all vpngate servers in CSV format.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VPN ¶
type VPN struct { Hostname string Score int Ping time.Duration Speed int // bps Country string // e.g. Japan CountryShort string // e.g. JP Sessions int // Currently active Uptime time.Duration Users int // Total users Traffic int // Total traffic LogType string Operator string Message string // Extracted from OpenVPN config. Proto string IP string Port int Cipher string Auth string CA string Cert string Key string }
A VPN represents a vpngate server.
Directories ¶
Path | Synopsis |
---|---|
Binary chooser provides a web interface to choose a VPN from the list of http://www.vpngate.net, create the OpenVPN config and restart OpenVPN daemon.
|
Binary chooser provides a web interface to choose a VPN from the list of http://www.vpngate.net, create the OpenVPN config and restart OpenVPN daemon. |
Binary list shows VPNs of http://www.vpngate.net with their OpenVPN config.
|
Binary list shows VPNs of http://www.vpngate.net with their OpenVPN config. |
Click to show internal directories.
Click to hide internal directories.