beacons

package
v1.3.5-hotfix Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(db sql.Executor, epoch types.EpochID, beacon types.Beacon) error

Add adds a beacon for a given epoch.

func Get

func Get(db sql.Executor, epoch types.EpochID) (beacon types.Beacon, err error)

Get gets a beacon for a given epoch.

func Set

func Set(db sql.Executor, epoch types.EpochID, beacon types.Beacon) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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