addr

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type P2PAddr

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

func Parse

func Parse(addr string) (P2PAddr, error)

func (*P2PAddr) Address

func (p *P2PAddr) Address() string

func (*P2PAddr) PeerID

func (p *P2PAddr) PeerID() string

func (*P2PAddr) Port

func (p *P2PAddr) Port() string

func (*P2PAddr) Protocol

func (p *P2PAddr) Protocol() string

func (*P2PAddr) Transport

func (p *P2PAddr) Transport() string

Jump to

Keyboard shortcuts

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