network

package
v0.0.0-...-6db25f1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: MIT Imports: 1 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 {
	ID      string
	Address string
	Port    int
	// contains filtered or unexported fields
}

func NewPeer

func NewPeer(address string, port int) *Peer

func (*Peer) Connect

func (p *Peer) Connect() error

func (*Peer) Disconnect

func (p *Peer) Disconnect() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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