diff --git a/plugins/webapi/drng/info/randomness/handler.go b/plugins/webapi/drng/info/randomness/handler.go index 442b0e9333ce0f6a4aab5d453a81dd7b2033341e..1c124b80afb646d07fd61df648bbe5c35d24318d 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"`