Documentation
¶
Overview ¶
Copyright (C) 2019-2023 David Florness SPDX-License-Identifier: MPL-2.0
Index ¶
- func CreateElectionTUI(kill <-chan error) (title string, candidates []election.Candidate)
- func ElectionWaitTUI(kill <-chan error, client *mautrix.Client, el *election.Election, ...) (err error)
- func RoomListTUI(kill <-chan error, store *matrix.TallyardStore, localUserID id.UserID, ...) (*election.Room, error)
- func RoomTUI(kill <-chan error, client *mautrix.Client, room *election.Room, ...) (el *election.Election, err error)
- func VoteTUI(kill <-chan error, candidates []election.Candidate) (ballot *[][]byte, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateElectionTUI ¶
func ElectionWaitTUI ¶
func RoomListTUI ¶
func RoomListTUI(kill <-chan error, store *matrix.TallyardStore, localUserID id.UserID, syncer mautrix.ExtensibleSyncer) (*election.Room, error)
displays a TUI of rooms that the user may choose from. This presumes that the store is already properly saving rooms
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.