byte counter for status

This commit is contained in:
Anton Schirg
2018-08-29 22:06:24 +02:00
parent 42056f7a32
commit 6ca11a7391
5 changed files with 104 additions and 42 deletions

View File

@ -1,13 +1,13 @@
package client
import (
"net/http"
"net"
"context"
"bytes"
"context"
"encoding/json"
"io"
"github.com/pkg/errors"
"io"
"net"
"net/http"
)
func controlHttpClient(sockpath string) (client http.Client, err error) {
@ -43,4 +43,3 @@ func jsonRequestResponse(c http.Client, endpoint string, req interface{}, res in
return nil
}