Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventsRepository ¶
type EventsRepository interface { GetForks(startingBlock int) ([]Fork, error) GetFrobs(startingBlock int) ([]Frob, error) GetGrabs(startingBlock int) ([]Grab, error) }
func NewEventsRepository ¶
func NewEventsRepository(db *postgres.DB) EventsRepository
type StorageRepository ¶
type StorageRepository interface { GetOrCreateUrn(urn, ilk string) (int64, error) GetUrnByID(id int64) (Urn, error) InsertDiff(diff types.RawDiff) error VatIlkArtExists(ilkID, headerID int64) (bool, error) VatUrnArtExists(urnID, headerID int64) (bool, error) VatUrnInkExists(urnID, headerID int64) (bool, error) }
func NewStorageRepository ¶
func NewStorageRepository(db *postgres.DB) StorageRepository
Click to show internal directories.
Click to hide internal directories.