Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(db *pg.DB) *Repository
func (*Repository) DeleteLastBlockData ¶
func (r *Repository) DeleteLastBlockData() error
func (*Repository) GetLastFromDB ¶
func (r *Repository) GetLastFromDB() (*models.Block, error)
func (*Repository) LinkWithValidators ¶
func (r *Repository) LinkWithValidators(links []*models.BlockValidator) error
Click to show internal directories.
Click to hide internal directories.