use github.com/namsral/flag for flags

github.com/namsral/flag enables environment and config file parsing

Signed-off-by: Mathias Kaufmann <me@stei.gr>
This commit is contained in:
Mathias Kaufmann 2018-03-13 23:36:53 +01:00
parent dec20c2cd0
commit 06d17fe26b

View File

@ -20,7 +20,6 @@ package main
import (
"crypto/tls"
"flag"
"io/ioutil"
"log"
"net"
@ -30,6 +29,8 @@ import (
"strings"
"time"
"github.com/namsral/flag"
proxyproto "github.com/Freeaqingme/go-proxyproto"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"