Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Forward ¶
type Forward struct { Active bool Ctx context.Context Fwd *settings.Forward // contains filtered or unexported fields }
func (*Forward) Deactivate ¶
type PortForwarding ¶
type PortForwarding struct {
// contains filtered or unexported fields
}
func NewPortForwarding ¶
func (*PortForwarding) Fwds ¶
func (p *PortForwarding) Fwds() []*Forward
func (*PortForwarding) Load ¶
func (p *PortForwarding) Load() error
Loads all known forwards from the persisted settings
func (*PortForwarding) Start ¶
func (p *PortForwarding) Start() error
func (*PortForwarding) Stop ¶
func (p *PortForwarding) Stop() error
Click to show internal directories.
Click to hide internal directories.