beacons

package
v1.2.12 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 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