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