ip

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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