Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainListener ¶
type ChainListener struct {
// contains filtered or unexported fields
}
func NewChainListener ¶
func NewChainListener(eventService event.IEventService, cm *config.ConfigManager) *ChainListener
func (*ChainListener) GetState ¶
func (l *ChainListener) GetState() bool
func (*ChainListener) SetChainApi ¶ added in v1.2.0
func (l *ChainListener) SetChainApi(api *gsrpc.SubstrateAPI, reportClient chain2.ReportClient)
func (*ChainListener) SetState ¶
func (l *ChainListener) SetState(option bool) error
Click to show internal directories.
Click to hide internal directories.