# README
REST API component
Configuration
{
"address" : "localhost",
"port": "8088",
"idle_timeout": "120s",
"keep_alives_enabled": true,
"jwt_public_key": "0123456789ABCDEF",
"enable_swagger_ui": true
}
address
: Hostname or IP to listen for requestsport
: Port number (as string) to listen atidle_timeout
: Close connection after this time. Must be a parseable time fortime.ParseDuration
keep_alives_enabled
: Keep connections alive for some timejwt_public_key
: JWT public key used for authenticationenable_swagger_ui
: Enable the Swagger UI, a web-based documentation of the REST API
Endpoints
http://address:port/api/query
http://address:port/api/write?cluster=<cluster>
See generated Swagger documentation or web-based Swagger UI for more information and the data format accepted by the endpoints
# Functions
No description provided by the author
# Variables
SwaggerInfo holds exported Swagger Info so clients can modify it.
# Structs
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
ErrorResponse model.
# Interfaces
No description provided by the author