Documentation ¶
Index ¶
- Variables
- type Interface
- func NewTCPForward(config string, port int) (Interface, error)
- func NewTCPForward_None(port int) (Interface, error)
- func NewTCPForward_Notice(port int) (Interface, error)
- func NewTCPForward_UPNP(port int) (Interface, error)
- func NewUDPForward(config string, port int) (Interface, error)
- func NewUDPForward_None(port int) (Interface, error)
- func NewUDPForward_Notice(port int) (Interface, error)
- func NewUDPForward_UPNP(port int) (Interface, error)
- type None
- type Notice
- type UPNP
Constants ¶
This section is empty.
Variables ¶
View Source
var ProtocolList = []string{"upnp", "notice", "none"}
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Redo() error Close() }
func NewTCPForward_None ¶
func NewTCPForward_Notice ¶
func NewTCPForward_UPNP ¶
func NewUDPForward_None ¶
func NewUDPForward_Notice ¶
func NewUDPForward_UPNP ¶
Click to show internal directories.
Click to hide internal directories.