Merge pull request #3 from steigr/feature/env-vars

use github.com/namsral/flag for flags
This commit is contained in:
Björn Busse 2018-03-13 23:58:29 +01:00 committed by GitHub
commit dacbe3baa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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