Documentation ¶
Index ¶
- type Control
- func (c *Control) Connect(path string, quit <-chan struct{}) error
- func (c *Control) DumpState(_ context.Context, w io.Writer) error
- func (c *Control) Expose(_ context.Context, port *vpnkit.Port) error
- func (c *Control) ListExposed(_ context.Context) ([]vpnkit.Port, error)
- func (c *Control) Listen(path string, quit <-chan struct{})
- func (c *Control) ListenOnListener(l net.Listener, listenerName string, quit <-chan struct{})
- func (c *Control) Mux() libproxy.Multiplexer
- func (c *Control) SetMux(m libproxy.Multiplexer)
- func (c *Control) Unexpose(_ context.Context, port *vpnkit.Port) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Control ¶
type Control struct { Forwarder forward.Maker // Forwarder makes local port forwards // contains filtered or unexported fields }
func (*Control) ListExposed ¶
func (*Control) ListenOnListener ¶
ListenOnListener listen for incoming data connections on an already setup listener
func (*Control) Mux ¶
func (c *Control) Mux() libproxy.Multiplexer
func (*Control) SetMux ¶
func (c *Control) SetMux(m libproxy.Multiplexer)
Click to show internal directories.
Click to hide internal directories.