Skip to content
Snippets Groups Projects
Commit 137c62ba authored by ale's avatar ale
Browse files

Add a missing import

parent 633f9fb3
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@ package server
import (
"crypto/tls"
"encoding/json"
"errors"
"fmt"
"log"
"net/http"
......@@ -182,10 +183,6 @@ func New(service *as.AccountService, backend as.Backend, leaderAddr string, clie
var emptyResponse struct{}
type jsonError interface {
JSON() []byte
}
// A forwardServer is just a fancy httputil.ReverseProxy with loop
// detection (we don't want to receive proxied requests if we are not
// the leader).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment