package mocks
import "github.com/centrifuge/go-substrate-rpc-client/v4/rpc/author/mocks"
Index ¶
- type Author
- func NewAuthor(t NewAuthorT) *Author
- func (_m *Author) PendingExtrinsics() ([]types.Extrinsic, error)
- func (_m *Author) SubmitAndWatchExtrinsic(xt types.Extrinsic) (*author.ExtrinsicStatusSubscription, error)
- func (_m *Author) SubmitExtrinsic(xt types.Extrinsic) (types.Hash, error)
- type NewAuthorT
Types ¶
type Author ¶
Author is an autogenerated mock type for the Author type
func NewAuthor ¶
func NewAuthor(t NewAuthorT) *Author
NewAuthor creates a new instance of Author. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Author) PendingExtrinsics ¶
PendingExtrinsics provides a mock function with given fields:
func (*Author) SubmitAndWatchExtrinsic ¶
func (_m *Author) SubmitAndWatchExtrinsic(xt types.Extrinsic) (*author.ExtrinsicStatusSubscription, error)
SubmitAndWatchExtrinsic provides a mock function with given fields: xt
func (*Author) SubmitExtrinsic ¶
SubmitExtrinsic provides a mock function with given fields: xt
type NewAuthorT ¶
Source Files ¶
- Version
- v4.2.1 (latest)
- Published
- Dec 5, 2023
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 2 weeks ago –
Tools for package owners.