updates

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

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

func (*ActiveProposalsWorker) Start

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) Start

func (w *ProposalWorker) Start(ctx context.Context) error

type SpacesWorker

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

func NewSpacesWorker

func NewSpacesWorker(sdk *snapshot.SDK, spaces *db.SpaceService, checkInterval time.Duration) *SpacesWorker

func (*SpacesWorker) Start

func (w *SpacesWorker) Start(ctx context.Context) error

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

Jump to

Keyboard shortcuts

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