ip

package
v0.0.0-...-84940ad Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Network

func Network() network.Network

Types

type QUICDialer

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

func NewQUICDialer

func NewQUICDialer(address string) (*QUICDialer, error)

func (*QUICDialer) Dial

func (d *QUICDialer) Dial() (network.Connection, error)

type QUICListener

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

func NewQUICListener

func NewQUICListener(address string) (*QUICListener, error)

func (*QUICListener) Listen

func (l *QUICListener) Listen() (network.Connection, error)

func (*QUICListener) Stop

func (l *QUICListener) Stop() error

type TCPDialer

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

func NewTCPDialer

func NewTCPDialer(address string) (*TCPDialer, error)

func (*TCPDialer) Dial

func (d *TCPDialer) Dial() (network.Connection, error)

type TCPListener

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

func NewTCPListener

func NewTCPListener(address string) (*TCPListener, error)

func (*TCPListener) Listen

func (l *TCPListener) Listen() (network.Connection, error)

func (*TCPListener) Stop

func (l *TCPListener) Stop() error

type UDPDialer

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

func NewUDPDialer

func NewUDPDialer(address string) (*UDPDialer, error)

func (*UDPDialer) Dial

func (d *UDPDialer) Dial() (network.Connection, error)

type UDPListener

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

func NewUDPListener

func NewUDPListener(address string) (*UDPListener, error)

func (*UDPListener) Listen

func (l *UDPListener) Listen() (network.Connection, error)

func (*UDPListener) Stop

func (l *UDPListener) Stop() error

Jump to

Keyboard shortcuts

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