Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizerCandidatesScanner ¶
type AuthorizerCandidatesScanner struct {
// contains filtered or unexported fields
}
func NewAuthorizerCandidatesScanner ¶
func NewAuthorizerCandidatesScanner(logger zerolog.Logger) AuthorizerCandidatesScanner
func (AuthorizerCandidatesScanner) GetCollection ¶
func (AuthorizerCandidatesScanner) Scan ¶
func (s AuthorizerCandidatesScanner) Scan( ctx context.Context, client client.Client, blocks BlockRange, ) CandidatesResult
type BlockRange ¶
type CandidateScanner ¶
type CandidateScanner interface {
Scan(ctx context.Context, client client.Client, blocks BlockRange) CandidatesResult
}
type CandidatesResult ¶
type CandidatesResult struct { Addresses map[flow.Address]struct{} // contains filtered or unexported fields }
func NewCandidatesResult ¶
func NewCandidatesResult(addresses map[flow.Address]struct{}) CandidatesResult
func NewCandidatesResultError ¶
func NewCandidatesResultError(err error) CandidatesResult
func WaitForCandidateResults ¶
func WaitForCandidateResults( candidatesChan <-chan CandidatesResult, expectedResults int, ) CandidatesResult
func (*CandidatesResult) Err ¶
func (r *CandidatesResult) Err() error
func (*CandidatesResult) MergeWith ¶
func (r *CandidatesResult) MergeWith(r2 CandidatesResult)
type EventCandidatesScanner ¶
type EventCandidatesScanner struct {
// contains filtered or unexported fields
}
func (*EventCandidatesScanner) Scan ¶
func (s *EventCandidatesScanner) Scan( ctx context.Context, client client.Client, blocks BlockRange, ) CandidatesResult
Click to show internal directories.
Click to hide internal directories.