tunnel

package
v0.0.0-...-60f4931 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(scc node.ControllerClient, ln net.Listener, auth *protoAuth.BlimpAuth,
	name string, port uint32) error

TODO, How does this thing get cleaned up? Do we leak a go routine here?

func ServerStream

func ServerStream(nsrv node.Controller_TunnelServer, stream net.Conn)

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager(ncc node.ControllerClient, auth *auth.BlimpAuth) Manager

func (Manager) Run

func (m Manager) Run(hostIP string, hostPort uint32, serviceName string, servicePort uint32, readyNotifier chan struct{}) error

Jump to

Keyboard shortcuts

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