package
0.0.0-20240913122337-259e1879760f
Repository: https://github.com/angenalzzz/go.git
Documentation: pkg.go.dev

# Functions

NewClient creates an instance of http client which implements the pre-defined rest apis of OpenTSDB.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Unit is bytes, and assumes that config items of 'tsd.http.request.enable_chunked = true' and 'tsd.http.request.max_chunk = 40960' are all in the opentsdb.conf:.
The above three constants are used in /put.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
The corresponding value type is bool.
The corresponding value type is int,int64.
The corresponding value type is int,int64.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Only the one of the three query type can be used in SuggestParam, UIDMetaData:.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

AggregatorsResponse acts as the implementation of Response in the /api/aggregators scene.
Annotation is the structure used to hold the querying parameters when calling /api/annotation.
AnnotationResponse acts as the implementation of Response in the /api/annotation scene.
No description provided by the author
BulkAnnotatResponse acts as the implementation of Response in the /api/annotation/bulk scene.
No description provided by the author
No description provided by the author
DataPoint is the structure used to hold the values of a metric item.
No description provided by the author
Filter is the structure used to hold the filter parameters when calling /api/query.
No description provided by the author
PutError holds the error message for each putting DataPoint instance.
PutResponse acts as the implementation of Response in the /api/put scene.
QueryLastParam is the structure used to hold the querying parameters when calling /api/query/last.
QueryLastResponse acts as the implementation of Response in the /api/query/last scene.
QueryParam is the structure used to hold the querying parameters when calling /api/query.
QueryRespItem acts as the implementation of Response in the /api/query scene.
QueryRespLastItem acts as the implementation of Response in the /api/query/last scene.
QueryResponse acts as the implementation of Response in the /api/query scene.
No description provided by the author
No description provided by the author
No description provided by the author
SubQuery is the structure used to hold the subquery parameters when calling /api/query.
SubQueryLast is the structure used to hold the subquery parameters when calling /api/query/last.
SuggestParam is the structure used to hold the querying parameters when calling /api/suggest.
No description provided by the author
TSMetaData is the structure used to hold the parameters when calling (POST,PUT,DELETE) /api/uid/tsmeta.
No description provided by the author
UIDAssignParam is the structure used to hold the parameters when calling POST /api/uid/assign.
UIDAssignResponse acts as the implementation of Response in the POST /api/uid/assign scene.
UIDMetaData is the structure used to hold the parameters when calling (POST,PUT) /api/uid/uidmeta.
UIDMetaDataResponse acts as the implementation of Response in the /api/uid/uidmeta scene.
No description provided by the author

# Interfaces

Client defines the sdk methods, by which other go applications can commnicate with the OpenTSDB via the pre-defined rest-apis.
Response defines the common behaviours all the specific response for different rest-apis shound obey.