Documentation
¶
Index ¶
- type LinkGenerator
- func (_m *LinkGenerator) AccountLink(address string) (string, error)
- func (_m *LinkGenerator) BlockLink(id flow.Identifier) (string, error)
- func (_m *LinkGenerator) CollectionLink(id flow.Identifier) (string, error)
- func (_m *LinkGenerator) ExecutionResultLink(id flow.Identifier) (string, error)
- func (_m *LinkGenerator) PayloadLink(id flow.Identifier) (string, error)
- func (_m *LinkGenerator) TransactionLink(id flow.Identifier) (string, error)
- func (_m *LinkGenerator) TransactionResultLink(id flow.Identifier) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkGenerator ¶
LinkGenerator is an autogenerated mock type for the LinkGenerator type
func NewLinkGenerator ¶
func NewLinkGenerator(t interface { mock.TestingT Cleanup(func()) }) *LinkGenerator
NewLinkGenerator creates a new instance of LinkGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*LinkGenerator) AccountLink ¶
func (_m *LinkGenerator) AccountLink(address string) (string, error)
AccountLink provides a mock function with given fields: address
func (*LinkGenerator) BlockLink ¶
func (_m *LinkGenerator) BlockLink(id flow.Identifier) (string, error)
BlockLink provides a mock function with given fields: id
func (*LinkGenerator) CollectionLink ¶
func (_m *LinkGenerator) CollectionLink(id flow.Identifier) (string, error)
CollectionLink provides a mock function with given fields: id
func (*LinkGenerator) ExecutionResultLink ¶
func (_m *LinkGenerator) ExecutionResultLink(id flow.Identifier) (string, error)
ExecutionResultLink provides a mock function with given fields: id
func (*LinkGenerator) PayloadLink ¶
func (_m *LinkGenerator) PayloadLink(id flow.Identifier) (string, error)
PayloadLink provides a mock function with given fields: id
func (*LinkGenerator) TransactionLink ¶
func (_m *LinkGenerator) TransactionLink(id flow.Identifier) (string, error)
TransactionLink provides a mock function with given fields: id
func (*LinkGenerator) TransactionResultLink ¶
func (_m *LinkGenerator) TransactionResultLink(id flow.Identifier) (string, error)
TransactionResultLink provides a mock function with given fields: id