Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActiveProposalsWorker ¶
type ActiveProposalsWorker struct {
// contains filtered or unexported fields
}
func NewActiveProposalsWorker ¶
func NewActiveProposalsWorker(sdk *snapshot.SDK, proposals *db.ProposalService, checkInterval time.Duration) *ActiveProposalsWorker
type DeleteProposalConsumer ¶ added in v0.5.1
type DeleteProposalConsumer struct {
// contains filtered or unexported fields
}
func NewDeleteProposalConsumer ¶ added in v0.5.1
func NewDeleteProposalConsumer( s *db.ProposalService, fc *fetcher.Client, nc *nats.Conn, ) *DeleteProposalConsumer
type MessagesWorker ¶ added in v0.5.1
type MessagesWorker struct {
// contains filtered or unexported fields
}
func NewMessagesWorker ¶ added in v0.5.1
func NewMessagesWorker(sdk *snapshot.SDK, messages *db.MessageService, checkInterval time.Duration) *MessagesWorker
type ProposalWorker ¶
type ProposalWorker struct {
// contains filtered or unexported fields
}
func NewProposalsWorker ¶
func NewProposalsWorker(sdk *snapshot.SDK, proposals *db.ProposalService, checkInterval time.Duration) *ProposalWorker
func (*ProposalWorker) FetchList ¶ added in v0.6.6
func (w *ProposalWorker) FetchList(ctx context.Context) error
func (*ProposalWorker) MarkToRefetch ¶ added in v0.6.6
func (w *ProposalWorker) MarkToRefetch(ctx context.Context) error
type SpacesUpdater ¶ added in v0.5.3
type SpacesUpdater struct {
// contains filtered or unexported fields
}
func NewSpacesUpdater ¶ added in v0.5.3
func NewSpacesUpdater(sdk *snapshot.SDK, spaces *db.SpaceService) *SpacesUpdater
func (*SpacesUpdater) ProcessSpace ¶ added in v0.5.3
func (s *SpacesUpdater) ProcessSpace(ctx context.Context, space string) error
func (*SpacesUpdater) ProcessSpaces ¶ added in v0.5.3
func (s *SpacesUpdater) ProcessSpaces(ctx context.Context, spaces []string) error
type SpacesWorker ¶
type SpacesWorker struct {
// contains filtered or unexported fields
}
func NewSpacesWorker ¶
func NewSpacesWorker(spaceUpdater *SpacesUpdater, spaces *db.SpaceService, checkInterval time.Duration) *SpacesWorker
type UpdateSpaceSettingsConsumer ¶ added in v0.5.3
type UpdateSpaceSettingsConsumer struct {
// contains filtered or unexported fields
}
func NewUpdateSpaceSettingsConsumer ¶ added in v0.5.3
func NewUpdateSpaceSettingsConsumer( su *SpacesUpdater, fc *fetcher.Client, nc *nats.Conn, ) *UpdateSpaceSettingsConsumer
type VoteWorker ¶
type VoteWorker struct {
// contains filtered or unexported fields
}
func NewVotesWorker ¶
func NewVotesWorker(sdk *snapshot.SDK, votes *db.VoteService, proposals *db.ProposalService, unrpocessedSpaces unprocessedSpacesFinder, checkInterval time.Duration) *VoteWorker
func (*VoteWorker) LoadActive ¶
func (w *VoteWorker) LoadActive(ctx context.Context) error
func (*VoteWorker) LoadHistorical ¶
func (w *VoteWorker) LoadHistorical(ctx context.Context) error
Click to show internal directories.
Click to hide internal directories.