package mocks
import "github.com/centrifuge/go-substrate-rpc-client/v4/rpc/system/mocks"
Index ¶
- type NewSystemT
- type System
- func NewSystem(t NewSystemT) *System
- func (_m *System) Chain() (types.Text, error)
- func (_m *System) Health() (types.Health, error)
- func (_m *System) Name() (types.Text, error)
- func (_m *System) NetworkState() (types.NetworkState, error)
- func (_m *System) Peers() ([]types.PeerInfo, error)
- func (_m *System) Properties() (types.ChainProperties, error)
- func (_m *System) Version() (types.Text, error)
Types ¶
type NewSystemT ¶
type System ¶
System is an autogenerated mock type for the System type
func NewSystem ¶
func NewSystem(t NewSystemT) *System
NewSystem creates a new instance of System. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*System) Chain ¶
Chain provides a mock function with given fields:
func (*System) Health ¶
Health provides a mock function with given fields:
func (*System) Name ¶
Name provides a mock function with given fields:
func (*System) NetworkState ¶
func (_m *System) NetworkState() (types.NetworkState, error)
NetworkState provides a mock function with given fields:
func (*System) Peers ¶
Peers provides a mock function with given fields:
func (*System) Properties ¶
func (_m *System) Properties() (types.ChainProperties, error)
Properties provides a mock function with given fields:
func (*System) Version ¶
Version provides a mock function with given fields:
Source Files ¶
- Version
- v4.2.1 (latest)
- Published
- Dec 5, 2023
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 1 week ago –
Tools for package owners.