Versions in this module Expand all Collapse all v2 v2.5.4 Nov 24, 2021 Changes in this version + func GenPoints(num int) []*write.Point + func GenRecords(num int) []string + type HTTPService struct + func NewTestService(t *testing.T, serverURL string) *HTTPService + func (t *HTTPService) Authorization() string + func (t *HTTPService) Close() + func (t *HTTPService) DoHTTPRequest(_ *http.Request, _ http2.RequestCallback, _ http2.ResponseCallback) *http2.Error + func (t *HTTPService) DoHTTPRequestWithResponse(_ *http.Request, _ http2.RequestCallback) (*http.Response, error) + func (t *HTTPService) DoPostRequest(_ context.Context, url string, body io.Reader, ...) *http2.Error + func (t *HTTPService) GetRequest(_ context.Context, _ string, _ http2.RequestCallback, _ http2.ResponseCallback) *http2.Error + func (t *HTTPService) HTTPClient() *http.Client + func (t *HTTPService) Lines() []string + func (t *HTTPService) ReplyError() *http2.Error + func (t *HTTPService) ServerAPIURL() string + func (t *HTTPService) ServerURL() string + func (t *HTTPService) SetAuthorization(_ string) + func (t *HTTPService) SetReplyError(replyError *http2.Error) + func (t *HTTPService) SetWasGzip(wasGzip bool) + func (t *HTTPService) WasGzip() bool