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) GetTxByHash ¶
func (repository Repository) GetTxByHash(hash string) *models.InvalidTransaction
Get invalid transaction by hash
type Resource ¶
type Resource struct { Hash string `json:"hash"` Block uint64 `json:"block"` Timestamp string `json:"timestamp"` Type uint8 `json:"type"` From string `json:"from"` }
func (Resource) Transform ¶
func (Resource) Transform(model resource.ItemInterface, params ...resource.ParamInterface) resource.Interface
Click to show internal directories.
Click to hide internal directories.