Documentation ¶
Index ¶
- type PublisherMock
- func (p *PublisherMock) PublishBlock(ctx context.Context, block domain.Block) error
- func (p *PublisherMock) PublishPair(ctx context.Context, pair domain.Pair) error
- func (p *PublisherMock) PublishPool(ctx context.Context, pool domain.Pool) error
- func (p *PublisherMock) PublishPools(ctx context.Context, pools []types.PoolI) error
- func (p *PublisherMock) PublishTokenSupply(ctx context.Context, tokenSupply domain.TokenSupply) error
- func (p *PublisherMock) PublishTokenSupplyOffset(ctx context.Context, tokenSupplyOffset domain.TokenSupplyOffset) error
- func (p *PublisherMock) PublishTransaction(ctx context.Context, txn domain.Transaction) error
- type TokenSupplyPublisherMock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublisherMock ¶ added in v25.2.1
type PublisherMock struct { }
func (*PublisherMock) PublishBlock ¶ added in v25.2.1
PublishBlock implements domain.Publisher.
func (*PublisherMock) PublishPair ¶ added in v25.2.1
PublishPair implements domain.Publisher.
func (*PublisherMock) PublishPool ¶ added in v25.2.1
PublishPool implements domain.Publisher.
func (*PublisherMock) PublishPools ¶ added in v25.2.1
PublishPools implements domain.Publisher.
func (*PublisherMock) PublishTokenSupply ¶ added in v25.2.1
func (p *PublisherMock) PublishTokenSupply(ctx context.Context, tokenSupply domain.TokenSupply) error
PublishTokenSupply implements domain.Publisher.
func (*PublisherMock) PublishTokenSupplyOffset ¶ added in v25.2.1
func (p *PublisherMock) PublishTokenSupplyOffset(ctx context.Context, tokenSupplyOffset domain.TokenSupplyOffset) error
PublishTokenSupplyOffset implements domain.Publisher.
func (*PublisherMock) PublishTransaction ¶ added in v25.2.1
func (p *PublisherMock) PublishTransaction(ctx context.Context, txn domain.Transaction) error
PublishTransaction implements domain.Publisher.
type TokenSupplyPublisherMock ¶
type TokenSupplyPublisherMock struct { CalledWithTokenSupply indexerdomain.TokenSupply ForceTokenSupplyError error CalledWithTokenSupplyOffset indexerdomain.TokenSupplyOffset ForceTokenSupplyOffsetError error }
TokenSupplyPublisherMock is a mock for TokenSupplyPublisher.
func (*TokenSupplyPublisherMock) PublishTokenSupply ¶
func (p *TokenSupplyPublisherMock) PublishTokenSupply(ctx context.Context, tokenSupply indexerdomain.TokenSupply) error
PublishTokenSupply implements domain.PubSubClientI.
func (*TokenSupplyPublisherMock) PublishTokenSupplyOffset ¶
func (p *TokenSupplyPublisherMock) PublishTokenSupplyOffset(ctx context.Context, tokenSupplyOffset indexerdomain.TokenSupplyOffset) error
PublishTokenSupplyOffset implements domain.PubSubClientI.
Click to show internal directories.
Click to hide internal directories.