quicproxyclient

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfig = &quic.Config{
	MaxIdleTimeout:  5 * time.Second,
	KeepAlivePeriod: 30 * time.Second,
}

Functions

func Serve

func Serve(ctx context.Context, endpoint string, md metadata.MD, handlers Handlers) error

Types

type Handlers

type Handlers struct {
	OnAllocation func(string)
	Proxy        func(net.Conn) error
}

Jump to

Keyboard shortcuts

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