//
pkg.gl
Category
github.com/Wojteek/dynhost
internal
app
package
1.0.0-beta3
Repository:
https://github.com/wojteek/dynhost.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
1
Files
128 SLOC
#
Packages
cmd
No description provided by the author
ip
No description provided by the author
service
No description provided by the author
#
Functions
GetData
GetData returns a data from file.
Timer
Timer creates the NewTicker and runs callback function in an interval.
UpdateIP
UpdateIP fetches and updates the IP when the IP was changed.
#
Structs
Data
Data - the structure of file with the data.
ServiceCommand
ServiceCommand is the structure of main options of command.
#
Type aliases
IPChangedCallback
IPChangedCallback is the structure of callback function of changing IP.