package
1.1.0
Repository: https://github.com/kaisawind/mongodb-proxy.git
Documentation: pkg.go.dev

# Functions

NewAnnotationQuery creates a new http.Handler for the annotation query operation.
NewAnnotationQueryOK creates AnnotationQueryOK with default headers values.
NewAnnotationQueryParams creates a new AnnotationQueryParams object There are no default values defined in the spec.
NewMetricFindQuery creates a new http.Handler for the metric find query operation.
NewMetricFindQueryOK creates MetricFindQueryOK with default headers values.
NewMetricFindQueryParams creates a new MetricFindQueryParams object There are no default values defined in the spec.
NewQuery creates a new http.Handler for the query operation.
NewQueryOK creates QueryOK with default headers values.
NewQueryParams creates a new QueryParams object There are no default values defined in the spec.
NewTestDatasource creates a new http.Handler for the test datasource operation.
NewTestDatasourceOK creates TestDatasourceOK with default headers values.
NewTestDatasourceParams creates a new TestDatasourceParams object There are no default values defined in the spec.

# Constants

AnnotationQueryOKCode is the HTTP code returned for type AnnotationQueryOK.
MetricFindQueryOKCode is the HTTP code returned for type MetricFindQueryOK.
QueryOKCode is the HTTP code returned for type QueryOK.
TestDatasourceOKCode is the HTTP code returned for type TestDatasourceOK.

# Structs

AnnotationQuery swagger:route POST /annotations SimpleJSON annotationQuery get annotations used by dashboards to get annotations.
AnnotationQueryOK get annotations successfully.
AnnotationQueryParams contains all the bound params for the annotation query operation typically these are obtained from a http.Request swagger:parameters AnnotationQuery.
AnnotationQueryURL generates an URL for the annotation query operation.
MetricFindQuery swagger:route POST /search SimpleJSON metricFindQuery find metric options used by the find metric options on the query tab in panels.
MetricFindQueryOK find metric options successfully.
MetricFindQueryParams contains all the bound params for the metric find query operation typically these are obtained from a http.Request swagger:parameters MetricFindQuery.
MetricFindQueryURL generates an URL for the metric find query operation.
Query swagger:route POST /query SimpleJSON query query data used by panels to get data */.
QueryOK query data successfully.
QueryParams contains all the bound params for the query operation typically these are obtained from a http.Request swagger:parameters Query.
QueryURL generates an URL for the query operation.
TestDatasource swagger:route GET / SimpleJSON testDatasource test connection should return 200 ok.
TestDatasourceOK connection successfully.
TestDatasourceParams contains all the bound params for the test datasource operation typically these are obtained from a http.Request swagger:parameters TestDatasource.
TestDatasourceURL generates an URL for the test datasource operation.

# Interfaces

AnnotationQueryHandler interface for that can handle valid annotation query params.
MetricFindQueryHandler interface for that can handle valid metric find query params.
QueryHandler interface for that can handle valid query params.
TestDatasourceHandler interface for that can handle valid test datasource params.

# Type aliases

AnnotationQueryHandlerFunc turns a function with the right signature into a annotation query handler.
MetricFindQueryHandlerFunc turns a function with the right signature into a metric find query handler.
QueryHandlerFunc turns a function with the right signature into a query handler.
TestDatasourceHandlerFunc turns a function with the right signature into a test datasource handler.