Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeRoundToken ¶
func ParticipantsFromRound ¶
func ParticipantsFromRound(round *persistence.Round) []string
func UpdatedRoundWithNextCandidate ¶
func UpdatedRoundWithNextCandidate(currentRound *persistence.Round) *persistence.Round
Types ¶
type Participant ¶
type Round ¶
type Round struct { URL string `json:"url"` Participants []Participant `json:"participants"` CurrentCandidate Participant `json:"currentCandidate"` }
func TransformRound ¶
func TransformRound(round *persistence.Round) *Round
Click to show internal directories.
Click to hide internal directories.