port_map

package
v0.0.0-...-d238303 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DummyPortMapper

type DummyPortMapper struct{}

func (*DummyPortMapper) MapPort

func (d *DummyPortMapper) MapPort(srcHost string, srcPort int32, protocol string, destPort int32) error

func (*DummyPortMapper) UnmapPort

func (d *DummyPortMapper) UnmapPort(protocol string, destPort int32) error

type PortMapper

type PortMapper interface {
	MapPort(srcHost string, srcPort int32, protocol string, destPort int32) error
	UnmapPort(protocol string, destPort int32) error
}

func NewDummyPortMapper

func NewDummyPortMapper() PortMapper

Jump to

Keyboard shortcuts

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