tunnel

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTunnel

func NewTunnel(logger lager.Logger, param Parameters, conn *websocket.Conn, user model.User) *tunnel

Types

type Parameters

type Parameters struct {
	PingInterval time.Duration `yaml:"ping_interval"`
	PingTimeout  time.Duration `yaml:"ping_timeout"`
	PongTimeout  time.Duration `yaml:"pong_timeout"`
}

func (*Parameters) Validate

func (p *Parameters) Validate() error

Jump to

Keyboard shortcuts

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