mocks

package
v25.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL