Documentation ¶
Index ¶
- type NewSystemT
- type 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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) NetworkState ¶
func (_m *System) NetworkState() (types.NetworkState, error)
NetworkState 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:
Click to show internal directories.
Click to hide internal directories.