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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct{}

Server - GOP2P RPC server

func (*Server) ForwardPort

func (server *Server) ForwardPort(ctx context.Context, req *upnpProto.GeneralRequest) (*upnpProto.GeneralResponse, error)

ForwardPort - upnp.ForwardPort RPC handler

func (*Server) ForwardPortSilent

func (server *Server) ForwardPortSilent(ctx context.Context, req *upnpProto.GeneralRequest) (*upnpProto.GeneralResponse, error)

ForwardPortSilent - upnp.ForwardPortSilent RPC handler

func (*Server) GetGateway

func (server *Server) GetGateway(ctx context.Context, req *upnpProto.GeneralRequest) (*upnpProto.GeneralResponse, error)

GetGateway - upnp.GetGateway RPC handler

func (*Server) RemoveForwarding

func (server *Server) RemoveForwarding(ctx context.Context, req *upnpProto.GeneralRequest) (*upnpProto.GeneralResponse, error)

RemoveForwarding - upnp.RemovePortForward RPC handler

Jump to

Keyboard shortcuts

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