types

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package types contains common types used in multiple poa packages

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PeerRecord

type PeerRecord struct {
	NetAddr   string `json:"NetAddr"`
	PubKeyHex string `json:"PubKeyHex"`
	Moniker   string `json:"Moniker"`
}

PeerRecord is Peers.json format with suitable export config

type PeerRecordList

type PeerRecordList []*PeerRecord

PeerRecordList is a slice of PeerRecord and is used to pass lists of peers within the POA packages.

Jump to

Keyboard shortcuts

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