Documentation ¶ Index ¶ func Add(db sql.Executor, epoch types.EpochID, beacon types.Beacon) error func Get(db sql.Executor, epoch types.EpochID) (beacon types.Beacon, err error) func Set(db sql.Executor, epoch types.EpochID, beacon types.Beacon) error 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. Source Files ¶ View all Source files beacons.go Click to show internal directories. Click to hide internal directories.