Skip to content
Snippets Groups Projects
Unverified Commit 31b4737b authored by Angelo Capossele's avatar Angelo Capossele Committed by GitHub
Browse files

Update plugins/webapi/drng/info/randomness/handler.go


Co-Authored-By: default avatarLuca Moser <moser.luca@gmail.com>
parent 6821830d
No related branches found
No related tags found
No related merge requests found
...@@ -18,6 +18,7 @@ func Handler(c echo.Context) error { ...@@ -18,6 +18,7 @@ func Handler(c echo.Context) error {
}) })
} }
// Response is the HTTP message containing the current DRNG randomness.
type Response struct { type Response struct {
Round uint64 `json:"round,omitempty"` Round uint64 `json:"round,omitempty"`
Timestamp time.Time `json:"timestamp,omitempty"` Timestamp time.Time `json:"timestamp,omitempty"`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment