package
0.0.0-20201218001546-ae74b80a8556
Repository: https://github.com/cesarfuhr/votingapi.git
Documentation: pkg.go.dev

# Functions

NewAgendaHandler creates a new http agenda handler.
NewResultHandler creates a new http session handler.
NewSessionHandler creates a new http session handler.
NewVoteHandler creates a new http vote handler.

# Structs

HTTPCreateAgendaReq json http representation of a create agenda request.
HTTPCreateAgendaRes json http representation of a create agenda response.
HTTPCreateSessionReq json http representation of a create session request.
HTTPCreateSessionRes json http representation of a create session response.
HTTPCreateVoteReq json http representation of a create vote request.
HTTPError Exception formatter to all http badRequests.
HTTPResultSessionRes json http representation of a session result response.

# Interfaces

AgendaHandler describes a http handler interface.
ResultHandler describes a http handler interface.
SessionHandler describes a http handler interface.
VoteHandler describes a http handler interface.