monitor

package
v0.3.15-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartServer

func StartServer(n Noder)

Types

type Info

type Info struct {
	NodeVersion  string
	BlockHeight  uint32
	NeighborCnt  int
	Neighbors    []NgbNodeInfo
	HttpRestPort uint16
	HttpWsPort   uint16
	HttpJsonPort uint16
	NodePort     uint16
	NodeId       string
	NodeType     string
}

type NgbNodeInfo

type NgbNodeInfo struct {
	NgbId         string
	NgbType       string
	NgbAddr       string
	HttpInfoAddr  string
	HttpInfoPort  uint16
	HttpInfoStart bool
}

type NgbNodeInfoSlice

type NgbNodeInfoSlice []NgbNodeInfo

func (NgbNodeInfoSlice) Len

func (n NgbNodeInfoSlice) Len() int

func (NgbNodeInfoSlice) Less

func (n NgbNodeInfoSlice) Less(i, j int) bool

func (NgbNodeInfoSlice) Swap

func (n NgbNodeInfoSlice) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL