package
3.3.10+incompatible
Repository: https://github.com/ivpn/desktop-app-daemon.git
Documentation: pkg.go.dev

# Functions

CreateAPIError creates new API error object.

# Constants

AccountNotActive - account should be purchased.
CodeSessionsLimitReached - You've reached the session limit, log out from other device.
CodeSuccess - success.
SessionNotFound - Session not found Session not found.
Unauthorized - Invalid Credentials (Username or Password is not valid).
WGPublicKeyNotFound - WireGuard Public Key not found.

# Structs

AntitrackerInfo all info about antitracker DNSs.
APIError - error, user not logged in into account.
APIErrorResponse generic IVPN API error.
APIResponse - generic API response.
ConfigInfo contains different configuration info (Antitracker, API ...).
DNSInfo contains info about DNS server.
GeoLookupResponse geolocation info.
InfoAPI contains API IP adresses.
OpenvpnServerInfo contains all info about OpenVPN server.
ServersInfoResponse all info from servers.json.
ServiceStatusAPIResp account info.
SessionDeleteRequest request to delete session.
SessionNewErrorLimitResponse information about session limit error.
SessionNewRequest request to create new session.
SessionNewResponse information about created session.
SessionStatusRequest request to get session status.
SessionStatusResponse session status response.
SessionsWireGuardResponse Sessions WireGuard response.
SessionWireGuardKeySetRequest request to set new WK key for a session.
WireGuardServerHostInfo contains info about WG server host.
WireGuardServerInfo contains all info about WG server.