Documentation ¶
Index ¶
- type System
- func (c *System) Chain() (types.Text, error)
- func (c *System) Health() (types.Health, error)
- func (c *System) Name() (types.Text, error)
- func (c *System) NetworkState() (types.NetworkState, error)
- func (c *System) Peers() ([]types.PeerInfo, error)
- func (c *System) Properties() (types.ChainProperties, error)
- func (c *System) Version() (types.Text, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type System ¶
type System struct {
// contains filtered or unexported fields
}
System exposes methods for retrieval of system data
func (*System) NetworkState ¶
func (c *System) NetworkState() (types.NetworkState, error)
NetworkState retrieves the current state of the network
func (*System) Properties ¶
func (c *System) Properties() (types.ChainProperties, error)
Properties retrieves a custom set of properties as a JSON object, defined in the chain spec
Click to show internal directories.
Click to hide internal directories.