Categorygithub.com/CHESSComputing/DataDiscovery
modulepackage
0.1.6
Repository: https://github.com/chesscomputing/datadiscovery.git
Documentation: pkg.go.dev

# README

DataDiscovery

build status go report card godoc

CHESS Data Discovery service

Example

# obtain valid token

# place search query request
curl -X POST \
    -H "Authorization: bearer $token" \
    -H "Content-type: application/json" \
    -d '{"client":"go-client","service_query":{"query":"{}","idx":0,"limit":2}}' \
    http://localhost:8320/search

# Functions

DataHandler provives access to GET / end-point.
NRecordsHandler return total number of records for given query.
SearchHandler provives access to GET / end-point.
Server defines our HTTP server.

# Variables

No description provided by the author