From 31b4737ba9950ca4b266fd4cc4a03e1db007a1c5 Mon Sep 17 00:00:00 2001 From: Angelo Capossele <angelocapossele@gmail.com> Date: Thu, 9 Apr 2020 16:38:10 +0100 Subject: [PATCH] Update plugins/webapi/drng/info/randomness/handler.go Co-Authored-By: Luca Moser <moser.luca@gmail.com> --- plugins/webapi/drng/info/randomness/handler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/webapi/drng/info/randomness/handler.go b/plugins/webapi/drng/info/randomness/handler.go index 442b0e93..1c124b80 100644 --- a/plugins/webapi/drng/info/randomness/handler.go +++ b/plugins/webapi/drng/info/randomness/handler.go @@ -18,6 +18,7 @@ func Handler(c echo.Context) error { }) } +// Response is the HTTP message containing the current DRNG randomness. type Response struct { Round uint64 `json:"round,omitempty"` Timestamp time.Time `json:"timestamp,omitempty"` -- GitLab