This commit adds the logrus module, and improves logs handling for the
entire program. Error logs are better displayed, and the log level can
be set from the configuration file.
Ref #4
This commit adds an active monitoring of the current public IP. If a
change is detected, then a message is sent to the given Telegram
channel. Add a few tests for the main monitoring logic.
There were a few tests that used to be here only to run a mock pipeline.
Since we now have testable methods, this is not useful anymore and this
commit removes them
Ref #2
This commit adds a link to a Go Telegram API to send messages to a given
telegram channel provided with a JSON config file. At the moment the
program sends a simple status message to the bot when starting up, but
this allows testing whether the link to Telegram is correctly working.
Ref #1
Create an initial Go module with a simple unit test and a makefile. This
can be tested using a CI pipeline, which will ensure that the following
commits don't break anything.