transports

package
v0.0.0-...-d3354c4 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2019 License: LGPL-2.1 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel interface {
	io.ReadWriteCloser

	Parent() MuxingConn
}

type MuxingConn

type MuxingConn interface {
	Open(uint32) Channel
	Close() error

	LocalAddr() string
	RemoteAddr() string

	RemoteID() friends.ID
}

type Transport

type Transport interface {
	Dial(raddr string, who crypto.PublicKey) (MuxingConn, error)
	Accept() (MuxingConn, error)
	Close() error
	LocalAddr() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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