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:
parent
dec20c2cd0
commit
06d17fe26b
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user