peers

package
v0.0.0-...-71e40f4 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Peer

type Peer struct {
	EnodeID string `json:"enodeID"`
	IP      string `json:"ip"`
	Port    uint32 `json:"port"`
}

Block block

type Peers

type Peers struct {
	// contains filtered or unexported fields
}

func New

func New(p2pServer *p2psrv.Server) *Peers

func (*Peers) Mount

func (b *Peers) Mount(root *mux.Router, pathPrefix string)

Jump to

Keyboard shortcuts

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