This commit is contained in:
Colin Moller 2015-06-03 17:23:45 -07:00
parent fc2f97ca89
commit e7130e9c85
1 changed files with 3 additions and 3 deletions

View File

@ -3,12 +3,12 @@ package remote
import ( import (
"bytes" "bytes"
"crypto/md5" "crypto/md5"
"crypto/tls"
"encoding/base64" "encoding/base64"
"fmt" "fmt"
"io" "io"
"net/http" "net/http"
"net/url" "net/url"
"crypto/tls"
"strconv" "strconv"
) )
@ -40,14 +40,14 @@ func httpFactory(conf map[string]string) (Client, error) {
} }
return &HTTPClient{ return &HTTPClient{
URL: url, URL: url,
skipCertVerify: skip_cert_verification, skipCertVerify: skip_cert_verification,
}, nil }, nil
} }
// HTTPClient is a remote client that stores data in Consul or HTTP REST. // HTTPClient is a remote client that stores data in Consul or HTTP REST.
type HTTPClient struct { type HTTPClient struct {
URL *url.URL URL *url.URL
skipCertVerify bool skipCertVerify bool
} }