aboutsummaryrefslogtreecommitdiff
path: root/client.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-12-26 13:11:36 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-12-26 13:11:36 +0100
commita6db8ecb747ac7ee0554c948b1ec7fdd4da290a8 (patch)
treee024af40ddd53b59ad55e468e0ceb7f73cae774f /client.go
parent13c3ec7c51794a7a2b20459ee751493a4d48f5ee (diff)
Unexport queryStatus
Diffstat (limited to 'client.go')
-rw-r--r--client.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/client.go b/client.go
index 4a14f58..b0f76a0 100644
--- a/client.go
+++ b/client.go
@@ -261,7 +261,7 @@ func (c *Client) Authorize(a *Account, altnames []string) error {
defer ticker.Stop()
go func() {
for range ticker.C {
- err := c.QueryStatus(ns.Location.String(), n, done)
+ err := c.queryStatus(ns.Location.String(), n, done)
if err != nil {
errc <- err
return
@@ -279,7 +279,7 @@ func (c *Client) Authorize(a *Account, altnames []string) error {
return err
}
-func (c *Client) QueryStatus(url string, n int, done chan bool) error {
+func (c *Client) queryStatus(url string, n int, done chan bool) error {
r := &Authorization{}
resp, err := http.Get(url)
if err != nil {