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 ProposalWorker ¶
type ProposalWorker struct {
// contains filtered or unexported fields
}
func NewProposalsWorker ¶
func NewProposalsWorker(sdk *snapshot.SDK, proposals *db.ProposalService, checkInterval time.Duration) *ProposalWorker
type SpacesWorker ¶
type SpacesWorker struct {
// contains filtered or unexported fields
}
func NewSpacesWorker ¶
func NewSpacesWorker(sdk *snapshot.SDK, spaces *db.SpaceService, checkInterval time.Duration) *SpacesWorker
type VoteWorker ¶
type VoteWorker struct {
// contains filtered or unexported fields
}
func NewVotesWorker ¶
func NewVotesWorker( sdk *snapshot.SDK, votes *db.VoteService, proposals *db.ProposalService, 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.