Documentation ¶
Index ¶
- func Add(db sql.Executor, ballot *types.Ballot) error
- func Get(db sql.Executor, id types.BallotID) (rst *types.Ballot, err error)
- func Has(db sql.Executor, id types.BallotID) (bool, error)
- func IDsInLayer(db sql.Executor, lid types.LayerID) (rst []types.BallotID, err error)
- func Layer(db sql.Executor, lid types.LayerID) (rst []*types.Ballot, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IDsInLayer ¶
IDsInLayer returns ballots ids in the layer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.