matrix

package
v0.6.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Copyright (C) 2019-2023 David Florness SPDX-License-Identifier: MPL-2.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TallyardStore

type TallyardStore struct {
	// contains filtered or unexported fields
}

func NewTallyardStore

func NewTallyardStore(electionsMap *election.ElectionsMap) *TallyardStore

func (*TallyardStore) GetElectionRooms added in v0.4.0

func (s *TallyardStore) GetElectionRooms() []*election.Room

func (*TallyardStore) LoadElectionsRoom added in v0.4.0

func (s *TallyardStore) LoadElectionsRoom(roomID id.RoomID) *election.Room

func (*TallyardStore) LoadFilterID

func (s *TallyardStore) LoadFilterID(userID id.UserID) string

func (*TallyardStore) LoadNextBatch

func (s *TallyardStore) LoadNextBatch(userID id.UserID) string

func (*TallyardStore) LoadRoom

func (s *TallyardStore) LoadRoom(roomID id.RoomID) *mautrix.Room

func (*TallyardStore) SaveFilterID

func (s *TallyardStore) SaveFilterID(userID id.UserID, filterID string)

func (*TallyardStore) SaveNextBatch

func (s *TallyardStore) SaveNextBatch(userID id.UserID, nextBatchToken string)

func (*TallyardStore) SaveRoom

func (s *TallyardStore) SaveRoom(room *mautrix.Room)

func (*TallyardStore) UpdateState

func (s *TallyardStore) UpdateState(_ mautrix.EventSource, evt *event.Event)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL