Versions in this module Expand all Collapse all v8 v8.0.2 Jun 27, 2022 v8.0.1 Jun 27, 2022 Changes in this version + func DisableLog() + func UseLogger(logger slog.Logger) + type ProposalDB struct + APIURLpath string + func NewProposalsDB(politeiaURL, dbPath string) (*ProposalDB, error) + func (db *ProposalDB) AllProposals(offset, rowsCount int, filterByVoteStatus ...int) (proposals []*pitypes.ProposalInfo, totalCount int, err error) + func (db *ProposalDB) CheckProposalsUpdates() error + func (db *ProposalDB) Close() error + func (db *ProposalDB) LastProposalsSync() int64 + func (db *ProposalDB) ProposalByRefID(RefID string) (*pitypes.ProposalInfo, error) + func (db *ProposalDB) ProposalByToken(proposalToken string) (*pitypes.ProposalInfo, error) Other modules containing this package github.com/Decred-Next/dcrndata/gov/v8