pkg/

directory
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

README

This subfolder pkg contains self sustained independent packages. They are usefull for this project, but can easily be adopted in other projects as well.

Directories

Path Synopsis
This file code is based on https://github.com/go-ping/ping
This file code is based on https://github.com/go-ping/ping
netcfg is a stateless helper to setup interface attributes IP, route, interface state, etc
netcfg is a stateless helper to setup interface attributes IP, route, interface state, etc
pubip is self contained package to get host public IP Ip may be get from several providers (STUN and fallback to webpage currently) Also caches IP for some time to reduce requests to servers.
pubip is self contained package to get host public IP Ip may be get from several providers (STUN and fallback to webpage currently) Also caches IP for some time to reduce requests to servers.
stunip
stunip gets public IP from public STUN servers
stunip gets public IP from public STUN servers
webip
Gets public IP address from Syntropy web microservice
Gets public IP address from Syntropy web microservice
A simple wrapper to have State changes based on atomic variable
A simple wrapper to have State changes based on atomic variable

Jump to

Keyboard shortcuts

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