upnp

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 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