network

package
v0.4.6 Latest Latest
Warning

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

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

Documentation

Overview

network abstraction

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Network

type Network interface {
	Dial(n, a string) (net.Conn, error)
	Accept() (net.Conn, error)
	ReadFrom([]byte) (int, net.Addr, error)
	WriteTo([]byte, net.Addr) (int, error)
	Open() error
	Close() error
	Addr() net.Addr
	Lookup(name, port string) (net.Addr, error)
}

a network session

Directories

Path Synopsis
* i2p connector
* i2p connector

Jump to

Keyboard shortcuts

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