Documentation ¶
Index ¶
- type ScheduledSyncerFactoryStub
- type ScheduledSyncerStub
- func (sdss *ScheduledSyncerStub) GetRootHashToSync(notarizedShardHeader data.ShardHeaderHandler) []byte
- func (sdss *ScheduledSyncerStub) IsInterfaceNil() bool
- func (sdss *ScheduledSyncerStub) UpdateSyncDataIfNeeded(notarizedShardHeader data.ShardHeaderHandler) (data.ShardHeaderHandler, map[string]data.HeaderHandler, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScheduledSyncerFactoryStub ¶
type ScheduledSyncerFactoryStub struct {
CreateCalled func(args *types.ScheduledDataSyncerCreateArgs) (types.ScheduledDataSyncer, error)
}
ScheduledSyncerFactoryStub -
func (*ScheduledSyncerFactoryStub) Create ¶
func (sdscs *ScheduledSyncerFactoryStub) Create(args *types.ScheduledDataSyncerCreateArgs) (types.ScheduledDataSyncer, error)
Create -
func (*ScheduledSyncerFactoryStub) IsInterfaceNil ¶
func (sdscs *ScheduledSyncerFactoryStub) IsInterfaceNil() bool
IsInterfaceNil -
type ScheduledSyncerStub ¶
type ScheduledSyncerStub struct { UpdateSyncDataIfNeededCalled func(notarizedShardHeader data.ShardHeaderHandler) (data.ShardHeaderHandler, map[string]data.HeaderHandler, error) GetRootHashToSyncCalled func(notarizedShardHeader data.ShardHeaderHandler) []byte }
ScheduledSyncerStub -
func (*ScheduledSyncerStub) GetRootHashToSync ¶
func (sdss *ScheduledSyncerStub) GetRootHashToSync(notarizedShardHeader data.ShardHeaderHandler) []byte
GetRootHashToSync -
func (*ScheduledSyncerStub) IsInterfaceNil ¶
func (sdss *ScheduledSyncerStub) IsInterfaceNil() bool
IsInterfaceNil -
func (*ScheduledSyncerStub) UpdateSyncDataIfNeeded ¶
func (sdss *ScheduledSyncerStub) UpdateSyncDataIfNeeded(notarizedShardHeader data.ShardHeaderHandler) (data.ShardHeaderHandler, map[string]data.HeaderHandler, error)
UpdateSyncDataIfNeeded -
Click to show internal directories.
Click to hide internal directories.