tunnel

package
v0.6.52 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageHandler

type MessageHandler = func(conn rony.Conn, tm *rony.TunnelMessage)

type Tunnel

type Tunnel interface {
	Start()
	Run()
	Shutdown()
	Addr() []string
}

Tunnel provides the communication channel between edge servers. Tunnel is similar to gateway.Gateway in functionalities. However Tunnel is optimized for inter-communication between edge servers, and Gateway is optimized for client-server communications.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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