upnp

package
v0.0.0-...-c729bb3 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2019 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForwardPort

func ForwardPort(portNumber uint) error

ForwardPort - forwards specified port on current device

func ForwardPortSilent

func ForwardPortSilent(portNumber uint) error

ForwardPortSilent - forwards specified port on current device without log output

func GetGateway

func GetGateway() (*upnp.IGD, error)

GetGateway - get reference to current network gateway device

func RemovePortForward

func RemovePortForward(portNumber uint) error

RemovePortForward - removes all forwarding for specified port

Types

This section is empty.

Jump to

Keyboard shortcuts

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