 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- func BlockchainInfo(pipe definitions.Pipe) *core_types.BlockchainInfo
- func ClientVersion(pipe definitions.Pipe) string
- func Listeners(pipe definitions.Pipe) []string
- func Listening(pipe definitions.Pipe) bool
- func Moniker(pipe definitions.Pipe) string
- func Peer(pipe definitions.Pipe, address string) *consensus_types.Peer
- type NetworkInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockchainInfo ¶
func BlockchainInfo(pipe definitions.Pipe) *core_types.BlockchainInfo
func Listeners ¶
func Listeners(pipe definitions.Pipe) []string
Is the network currently listening for connections.
func Listening ¶
func Listening(pipe definitions.Pipe) bool
Is the network currently listening for connections.
func Peer ¶
func Peer(pipe definitions.Pipe, address string) *consensus_types.Peer
Types ¶
type NetworkInfo ¶
type NetworkInfo struct {
	ClientVersion string                  `json:"client_version"`
	Moniker       string                  `json:"moniker"`
	Listening     bool                    `json:"listening"`
	Listeners     []string                `json:"listeners"`
	Peers         []*consensus_types.Peer `json:"peers"`
}
    NetworkInfo
 Click to show internal directories. 
   Click to hide internal directories.