geolookup

package
v7.6.168 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: GPL-3.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCountry

func GetCountry(timeout time.Duration) string

GetCountry gets the country. If the country hasn't been determined yet, waits up to the given timeout for country to become available.

func GetIP

func GetIP(timeout time.Duration) string

GetIP gets the IP. If the IP hasn't been determined yet, waits up to the given timeout for the IP to become available.

func OnRefresh

func OnRefresh() <-chan bool

OnRefresh returns a chan that will signal when the goelocation has changed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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