Merge pull request #3 from steigr/feature/env-vars
use github.com/namsral/flag for flags
This commit is contained in:
commit
dacbe3baa9
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user