Versions in this module Expand all Collapse all v1 v1.0.0 May 3, 2020 Changes in this version + var DefaultConfig = Config + func Asset(name string) ([]byte, error) + func AssetDigest(name string) ([sha256.Size]byte, error) + func AssetDir(name string) ([]string, error) + func AssetInfo(name string) (os.FileInfo, error) + func AssetNames() []string + func AssetString(name string) (string, error) + func Digests() (map[string][sha256.Size]byte, error) + func MustAsset(name string) []byte + func MustAssetString(name string) string + func RestoreAsset(dir, name string) error + func RestoreAssets(dir, name string) error + type ChainMessage struct + type ChartEntries []*ChartEntry + type ChartEntry struct + Time time.Time + Value float64 + type Config struct + Host string + Port int + Refresh time.Duration + type Dashboard struct + func New(config *Config, commit string) (*Dashboard, error) + func (db *Dashboard) APIs() []rpc.API + func (db *Dashboard) Protocols() []p2p.Protocol + func (db *Dashboard) Start(server *p2p.Server) error + func (db *Dashboard) Stop() error + type GeneralMessage struct + Commit string + Version string + type HomeMessage struct + type LogsMessage struct + Log []string + type Message struct + Chain *ChainMessage + General *GeneralMessage + Home *HomeMessage + Logs *LogsMessage + Network *NetworkMessage + System *SystemMessage + TxPool *TxPoolMessage + type NetworkMessage struct + type SystemMessage struct + ActiveMemory ChartEntries + DiskRead ChartEntries + DiskWrite ChartEntries + NetworkEgress ChartEntries + NetworkIngress ChartEntries + ProcessCPU ChartEntries + SystemCPU ChartEntries + VirtualMemory ChartEntries + type TxPoolMessage struct