edge

package
v0.0.0-...-6f42e1d Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrorMaxHostConns = errors.New("Max limit per host reached")
)

Functions

This section is empty.

Types

type ConnPool

type ConnPool struct {
	// contains filtered or unexported fields
}

func NewConnPool

func NewConnPool(maxPerHost int) *ConnPool

func (*ConnPool) Get

func (p *ConnPool) Get(destination string) (net.Conn, error)

func (*ConnPool) Put

func (p *ConnPool) Put(destination string, conn net.Conn)

type Edge

type Edge struct {
	// contains filtered or unexported fields
}

func NewEdge

func NewEdge() *Edge

func (*Edge) RelayHandle

func (r *Edge) RelayHandle(relayStream quic.Stream) error

Jump to

Keyboard shortcuts

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