diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-06-01 21:11:34 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2021-06-01 21:11:34 +0200 |
commit | 2c2c6936a93ce4f18302426a665ed5782910ab85 (patch) | |
tree | 93dbaa64e7c85990464adc625ffdcd5d48aa098a /instance.go | |
parent | 17a1cf31764541daa509cf59f1bbb32c25b28c8c (diff) |
re-added all endpoints
To be tested in greater detail.
Diffstat (limited to 'instance.go')
-rw-r--r-- | instance.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/instance.go b/instance.go index d11032e..5d358c1 100644 --- a/instance.go +++ b/instance.go @@ -27,9 +27,9 @@ func (i *Instance) Handlers() []Handler { Handler{Instance: i, Handler: getLatestSth, Endpoint: EndpointGetLatestSth, Method: http.MethodGet}, Handler{Instance: i, Handler: getStableSth, Endpoint: EndpointGetStableSth, Method: http.MethodGet}, Handler{Instance: i, Handler: getCosignedSth, Endpoint: EndpointGetCosignedSth, Method: http.MethodGet}, - //Handler{Instance: i, Handler: getProofByHash, Endpoint: EndpointGetProofByHash, Method: http.MethodPost}, + Handler{Instance: i, Handler: getProofByHash, Endpoint: EndpointGetProofByHash, Method: http.MethodPost}, Handler{Instance: i, Handler: getConsistencyProof, Endpoint: EndpointGetConsistencyProof, Method: http.MethodPost}, - //Handler{Instance: i, Handler: getEntries, Endpoint: EndpointGetEntries, Method: http.MethodPost}, + Handler{Instance: i, Handler: getEntries, Endpoint: EndpointGetEntries, Method: http.MethodPost}, } } |