Documentation ¶
Index ¶
- type Store
- func (s *Store) AddVoteToBacklog(v models.VoteRow)
- func (s *Store) BootStrap()
- func (s *Store) BroadcastVotes(html string, clientID string)
- func (s *Store) GetBacklog() []models.VoteRow
- func (s *Store) GetPollData() models.PollData
- func (s *Store) HandleBroadcast()
- func (s *Store) Incr(voteType models.VoteType) error
- func (s *Store) RegisterClient(client chan string, sessionID string)
- func (s *Store) SyncBacklog() error
- func (s *Store) UnRegisterClient(client chan string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) AddVoteToBacklog ¶
func (*Store) BroadcastVotes ¶
func (*Store) GetBacklog ¶
func (*Store) GetPollData ¶
func (*Store) HandleBroadcast ¶
func (s *Store) HandleBroadcast()
func (*Store) RegisterClient ¶
func (*Store) SyncBacklog ¶
func (*Store) UnRegisterClient ¶
Click to show internal directories.
Click to hide internal directories.