Configuration file reading

* An example configuration file has been added.
  * The data structure that corresponds to the configuration has been
    defined, and functions to load it have been added.
  * Logging using logrus and command line arguments that configure
    logging and set the configuration file's path have been added.
  * Opening the UNIX socket has been implemented.
This commit is contained in:
Emmanuel BENOîT 2021-10-30 17:07:06 +02:00
parent 18ce1d6738
commit 610cbf28f8
7 changed files with 407 additions and 1 deletions

4
.gitignore vendored
View file

@ -1,2 +1,4 @@
bin
go.sum
go.sum
fetchcert
fetch-certificates.yml