portmapping

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mapping

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

Mapping owns the best-effort lifetime of one UDP mapping. ICE remains fully functional when no mapping service is available.

func Start

func Start(localPort int) *Mapping

func (*Mapping) Close

func (mapping *Mapping) Close()

func (*Mapping) Prepare

func (mapping *Mapping) Prepare() int

Jump to

Keyboard shortcuts

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