xonline

package
v0.0.0-...-f3abbe6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsWanOnline

func IsWanOnline(proxy string) (online bool)

don't use LookupHost (DNS) method to detect WAN status, when your computer is connected with router OK but router not working well (such like PPPoE account invalid or expired), and nameserver is your router you can still get DNS record cache by LookupHost API, but in fact the WAN is offline!

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL