websocket

package
v0.0.0-...-83b6606 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProxyWS

type ProxyWS struct {
	Address   string
	KeepAlive time.Duration
	Path      string
	ReqHeader http.Header
	Scheme    string
}

TODO: Add a rawURL query param, in order to support exotic urls as well.

func (*ProxyWS) Dial

func (p *ProxyWS) Dial() (io.ReadWriteCloser, error)

type ProxyWSListener

type ProxyWSListener struct {
	Address string
	Path    string
	// contains filtered or unexported fields
}

func (*ProxyWSListener) Listen

func (p *ProxyWSListener) Listen() (net.Listener, error)

Jump to

Keyboard shortcuts

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