Documentation ¶
Index ¶
- type Gateway
- func (g *Gateway) ClosePortMapUPNP(externalPort int) error
- func (g *Gateway) ClosePortNatPMP(internalPort, externalPort int) error
- func (g *Gateway) OpenPortNatPMP(internalPort, externalPort int, protocol string, lifetime int) error
- func (g *Gateway) OpenPortUPNP(internalPort, externalPort int, protocol string, lifetime int) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gateway ¶
type Gateway struct {
// contains filtered or unexported fields
}
func NewGateway ¶
func (*Gateway) ClosePortMapUPNP ¶
func (*Gateway) ClosePortNatPMP ¶
func (*Gateway) OpenPortNatPMP ¶
Click to show internal directories.
Click to hide internal directories.