Documentation ¶ Index ¶ type P2PAddr func Parse(addr string) (P2PAddr, error) func (p *P2PAddr) Address() string func (p *P2PAddr) PeerID() string func (p *P2PAddr) Port() string func (p *P2PAddr) Protocol() string func (p *P2PAddr) Transport() string 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 Source Files ¶ View all Source files addr.go Click to show internal directories. Click to hide internal directories.