package
2.0.0-alpha+incompatible
Repository: https://github.com/c4dt/d-voting.git
Documentation: pkg.go.dev
# Functions
NewSignedRequest returns a new initialized signed request.
# Structs
CastVoteRequest defines the HTTP request for casting a vote.
CreateFormRequest defines the HTTP request for creating a form.
CreateFormResponse defines the HTTP response when creating a form.
EGPairJSON is the JSON representation of an ElGamal pair.
GetActorInfo defines the result of a get actor info.
GetFormResponse defines the HTTP response when getting the form info.
GetFormsResponse defines the HTTP response when getting all forms infos.
HTTPError defines the standard error format.
LightForm represents a light version of the form.
NewDKGRequest defines the request to create a new DGK.
SignedRequest represents a frontend request signed by the web backend.
UpdateDKG defines the input used to update dkg.
UpdateFormRequest defines the HTTP request for updating a form.
UpdateShuffle defines the input used to update the shuffle.
# Type aliases
CiphervoteJSON is the JSON representation of a ciphervote.