stunip

package
v0.6.3-beta01 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

stunip gets public IP from public STUN servers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PublicIP

func PublicIP() (net.IP, error)

PublicIP tries optimise STUN server lists. If server fails - it tries another one from list When server responds successfully - next time it will be tried first. Very simple and straightforward implementation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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