Documentation ¶
Index ¶
- func Add(db sql.Executor, proposal *types.Proposal) error
- func DeleteBefore(db sql.Executor, lid types.LayerID) error
- func Get(db sql.Executor, id types.ProposalID) (proposal *types.Proposal, err error)
- func GetBlob(db sql.Executor, id []byte) (proposal []byte, err error)
- func GetByLayer(db sql.Executor, layerID types.LayerID) (proposals []*types.Proposal, err error)
- func Has(db sql.Executor, id types.ProposalID) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetByLayer ¶
GetByLayer gets proposals by a given layer ID.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.