Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UserAgent string
Keeps once created User-Agent string
Functions ¶
This section is empty.
Types ¶
type Error ¶
Error represent error response from InfluxDBServer or http error
type ResponseCallback ¶
type Service ¶
type Service interface { PostRequest(ctx context.Context, url string, body io.Reader, requestCallback RequestCallback, responseCallback ResponseCallback) *Error GetRequest(ctx context.Context, url string, requestCallback RequestCallback, responseCallback ResponseCallback) *Error DoHttpRequest(req *http.Request, requestCallback RequestCallback, responseCallback ResponseCallback) *Error SetAuthorization(authorization string) Authorization() string HttpClient() *http.Client ServerApiUrl() string }
Click to show internal directories.
Click to hide internal directories.