ip

package
v0.3.0-alpha5 Latest Latest
Warning

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

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

Documentation

Overview

Copyright 2021 Thorben Krüger (thorben.krueger@ovgu.de)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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