aboutsummaryrefslogtreecommitdiff
path: root/handler.go
Commit message (Collapse)AuthorAgeFilesLines
* refactored add-entry code pathRasmus Dahlberg2020-10-231-43/+7
|
* refactored type.goRasmus Dahlberg2020-10-231-3/+2
| | | | | Moved structures for in/out HTTP data into reqres.go and added basic doc comments. A few minor edits as well to make things consistent.
* indented using go fmtRasmus Dahlberg2020-10-221-3/+3
|
* Added start on get-proof-by-hash code pathRasmus Dahlberg2020-10-221-0/+37
| | | | | | If the provided tree size is (mostly) valid the Trillian back-end is asked to provide an inclusion proof, which is then placed in an InclusionProofV1 structure and returned as a JSON object.
* added start on get-entries code pathRasmus Dahlberg2020-10-221-2/+37
| | | | | If the provided range is (mostly) valid the corresponding log entries are fetched from the Trillian back-end and returned as a JSON object.
* added parameter parsing for get-entriesRasmus Dahlberg2020-10-221-1/+8
|
* added start on addEntry code pathRasmus Dahlberg2020-10-211-3/+68
| | | | | If the POSTed StItem can be parsed without errors it is handed over to the Trillian back-end.
* added basic structureRasmus Dahlberg2020-10-201-0/+78
An STFE server instance that dials the Trillian gRPC back-end, and which listens on six different HTTP endpoints but without any actual processing.