server

package
v0.0.0-...-ccdaf39 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(c echo.Context, status int, err error) error

Error responds to client with an error. The error is logged and translated to proper HTTP status response.

func GetRegister

func GetRegister(c echo.Context) error

func GetSession

func GetSession(c echo.Context) error

func Start

func Start() error

Start starts tunneling server with given configuration.

func WebSocket

func WebSocket(c echo.Context, handler func(ws *websocket.Conn) error) error

WebSocket starts websocket session. The handler is invoked in a goroutine.

Types

This section is empty.

Jump to

Keyboard shortcuts

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