server

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(c *Config) error

Run starts up the websocket tcp proxy.

Types

type Config

type Config struct {
	Port         int
	Cert         string
	Key          string
	TextMode     bool
	Address      string
	TCPTLS       bool
	TCPTLSCert   string
	TCPTLSKey    string
	TCPTLSRootCA string
	CertManager  *autocert.Manager
}

Config is the server package config.

Jump to

Keyboard shortcuts

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