xonline

package
v0.0.0-...-2bcc11b Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: GPL-3.0 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