package
3.3.10+incompatible
Repository: https://github.com/ivpn/desktop-app-daemon.git
Documentation: pkg.go.dev
# Functions
NewStateInfo - create new state object (not applicable for CONNECTED state).
NewStateInfoConnected - create new state object for CONNECTED state.
ParseState - Converts string representation of OpenVPN state to vpn.State.
# Constants
Adding routes to system.
Assigning IP address to virtual network interface.
(Client only) Authenticating with server.
Initialization Sequence Completed.
OpenVPN's initial state.
Possible VPN state values (must be applicable for all protocols) Such stetes MUST be in use by ALL supportded VPN protocols: DISCONNECTED CONNECTING CONNECTED EXITING.
A graceful exit is in progress.
(Client only) Downloading configuration options from server.
Supported VPN protocols.
A restart has occurred.
TCP_CONNECT.
(Client only) Waiting for initial response from server.
Supported VPN protocols.
# Structs
ReconnectionRequiredError object can be returned by vpn.Process.Connect() function which means that it requesting to do re-connect immediately.
StateInfo - VPN state + additional information.
# Interfaces
Process represents VPN object operations.