Replace iniflags config file parser with peterbourgon/ff/v3

This allows us to support configuration via environment variables
which is useful in container environments.
This commit is contained in:
Bernhard Froehlich
2022-05-20 08:48:39 +00:00
parent 44560c9a0c
commit 26477177fe
3 changed files with 90 additions and 27 deletions

2
go.mod
View File

@@ -3,9 +3,9 @@ module github.com/decke/smtprelay
require (
github.com/chrj/smtpd v0.3.1
github.com/google/uuid v1.3.0
github.com/peterbourgon/ff/v3 v3.1.2
github.com/sirupsen/logrus v1.8.1
github.com/stretchr/testify v1.7.1
github.com/vharitonsky/iniflags v0.0.0-20180513140207-a33cd0b5f3de
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4
)