package
2.4.88+incompatible
Repository: https://github.com/getlantern/flashlight.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
Configure fetches updated configuration from the cloud and stores it in configFolderPath.
ConfigureFileLogging configures logging to log to files at the given fullLogFilePath and capture heap and goroutine profiles at the given profile path.
IsActiveProDevice checks whether the given device is an active pro device.
LogDebug logs the given msg to the swift logger at debug level.
LogError logs the given msg to the swift logger at error level.
NewCanceler creates a Canceller.
RecoverProAccount attempts to recover an existing Pro account linked to this email address and device ID.
RedeemResellerCode redeems the given reseller code, returning the payment_status and the plan.
ReportIssue reports an issue via email.
RequestDeviceLinkingCode requests a new device linking code to allow linking the current device to a pro account via an existing pro device.
RequestRecoveryEmail requests an account recovery email for linking to an existing pro account.
No description provided by the author
UserCreate creates a new user account on the pro server.
ValidateDeviceLinkingCode validates a device linking code to allow linking the current device to a pro account via an existing pro device.
ValidateRecoveryCode validates the given recovery code and finishes linking the device, returning the user_id and pro_token for the account.
# Structs
Canceler providers a mechanism for canceling long running operations.
ConfigResult captures the result of calling Configure().
ProCredentials are credentials that authenticate a pro account.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
MemChecker checks the system's memory level.
UDPConn is a UDP connection that bypasses the VPN.
UDPDialer provides a mechanism for dialing outbound UDP connections that bypass the VPN.
No description provided by the author