Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LastConnectionExist ¶
func LastConnectionExist() bool
LastConnectionExist - returns 'true' if available info about last successful connection
func SaveConfig ¶
func SaveConfig(conf Configuration) error
SaveConfig saves configuration to local storage
func SaveLastConnectionInfo ¶
func SaveLastConnectionInfo(ci LastConnectionInfo)
SaveLastConnectionInfo save last connection parameters in local storage
Types ¶
type Configuration ¶
Configuration - local configuration
type LastConnectionInfo ¶
type LastConnectionInfo struct { Gateway string Port string Obfsproxy bool FirewallOff bool DNS string Antitracker bool AntitrackerHard bool MultiopExitSvr string }
LastConnectionInfo information about last connection parameters
func RestoreLastConnectionInfo ¶
func RestoreLastConnectionInfo() *LastConnectionInfo
RestoreLastConnectionInfo restore last connection info from local storage
Click to show internal directories.
Click to hide internal directories.