quicproxyclient

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: May 25, 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