Documentation ¶
Index ¶
- type Service
- func (s *Service) AddNodeError(list []*service.NodeSource) error
- func (s *Service) DelNodeErrorWithBlockByBlockNumber(number string, chain *config.BlockConfig) error
- func (s *Service) DelNodeErrorWithReceiptByBlockNumber(number string, chain *config.BlockConfig) error
- func (s *Service) HandlerDeadTask()
- func (s *Service) HandlerManyFailTask()
- func (s *Service) RetryTaskForFail()
- func (s *Service) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) AddNodeError ¶
func (s *Service) AddNodeError(list []*service.NodeSource) error
func (*Service) DelNodeErrorWithBlockByBlockNumber ¶
func (s *Service) DelNodeErrorWithBlockByBlockNumber(number string, chain *config.BlockConfig) error
func (*Service) DelNodeErrorWithReceiptByBlockNumber ¶
func (s *Service) DelNodeErrorWithReceiptByBlockNumber(number string, chain *config.BlockConfig) error
func (*Service) HandlerDeadTask ¶
func (s *Service) HandlerDeadTask()
func (*Service) HandlerManyFailTask ¶
func (s *Service) HandlerManyFailTask()
func (*Service) RetryTaskForFail ¶
func (s *Service) RetryTaskForFail()
RetryTaskForFail 针对失败的任务,重发任务
Click to show internal directories.
Click to hide internal directories.