Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyBlock ¶
func (DummyBlock) TableName ¶
func (DummyBlock) TableName() string
type MockIndexer ¶
func NewMockIndexer ¶
func NewMockIndexer(dbConn *gorm.DB, id string, tip, genesis uint64) *MockIndexer
func (*MockIndexer) MockGetMissingHeights ¶
func (i *MockIndexer) MockGetMissingHeights() (*[]uint64, error)
func (*MockIndexer) MockSyncToDB ¶
func (i *MockIndexer) MockSyncToDB() db_buffer.SyncResult
func (*MockIndexer) NewMockWorker ¶
func (i *MockIndexer) NewMockWorker(id string, workerChannel chan chan WorkQueue.Work) WorkQueue.QueuedWorker
type MockWorker ¶
type MockWorker struct {
// contains filtered or unexported fields
}
func (*MockWorker) DoWork ¶
func (m *MockWorker) DoWork(w WorkQueue.Work)
func (*MockWorker) Start ¶
func (m *MockWorker) Start()
Click to show internal directories.
Click to hide internal directories.