Versions in this module Expand all Collapse all v0 v0.1.0 Jan 6, 2025 Changes in this version + type Beacon interface + GetLatestRound func(ctx context.Context) (*Round, error) + Start func(ctx context.Context, interval time.Duration) error + Stop func() error + type DrandBeacon struct + func NewDrandBeacon(endpoint string) (*DrandBeacon, error) + func (d *DrandBeacon) GetLatestRound(ctx context.Context) (*Round, error) + func (d *DrandBeacon) Rounds() <-chan *Round + func (d *DrandBeacon) Start(ctx context.Context, interval time.Duration) error + func (d *DrandBeacon) Stop() error + type Round struct + Number uint64 + Randomness []byte + Signature []byte + Timestamp time.Time