package
0.0.0-20230310224206-d465f1b57d09
Repository: https://github.com/tirith-tech/dlc-oracle.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
Init REST API.
ListDataSourcesHandler handles request for all datasources.
PubKeyHandler returns DLC Oracle public key.
PublicationByNameAndTimestampHandler takes a name and timestamp value and returns a publication.
PublicationHandler takes an "R" value and returns a publication.
PublicationsHandler takes a base and quote and returns all related publications.
RPointHandler takes a datasourceID and timestamp and then creates and returns an R value.
# Structs
DataSourceResponse with Name, Description, ID, CurrentValue, Series and ValueError.
PubKeyResponse A string.
PublicationResponse for marshalling JSON response with Value, Signature, Timestamp, and Name.
PublicationsResponse returns a list of PublicationResponses.
RPointResponse R string.
SeriesResponse with Name, Data.