peers

package
v1.2.0-fix7-temp Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 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