Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EntitiesToDtos ¶
func EntitiesToDtos(height uint64, froms []*challengetypes.EventStartChallenge) []*model.Event
func EntityToDto ¶
func EntityToDto(height uint64, from *challengetypes.EventStartChallenge) *model.Event
Types ¶
type DataHandler ¶ added in v0.0.2
type DataHandler struct {
// contains filtered or unexported fields
}
func NewDataHandler ¶ added in v0.0.2
func NewDataHandler(daoManager *dao.DaoManager) *DataHandler
func (*DataHandler) GetLatestBlock ¶ added in v0.0.2
func (h *DataHandler) GetLatestBlock() (*model.Block, error)
func (*DataHandler) SaveBlockAndEvents ¶ added in v0.0.2
type DataProvider ¶ added in v0.0.2
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
func NewMonitor ¶
func NewMonitor(executor *executor.Executor, dataProvider DataProvider, metricService *metrics.MetricService) *Monitor
func (*Monitor) ListenEventLoop ¶
func (m *Monitor) ListenEventLoop()
Click to show internal directories.
Click to hide internal directories.