h3

package
v1.32.1 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(timeout time.Duration, opts ClientOptions) (*http.Client, func(), error)

func NewServer

func NewServer(addr string, handler http.Handler, certFile, keyFile string) (*http3.Server, error)

func NewServerWithTLSConfig

func NewServerWithTLSConfig(addr string, handler http.Handler, tlsConfig *tls.Config) *http3.Server

Types

type ClientOptions

type ClientOptions struct {
	CACertFile string
	// SAN에 없는 주소(127.0.0.1, docker DNS)로 접속할 때 SAN에 있는 이름으로 검증한다.
	ServerName string
	DialGuard  func(net.IP) error
}

Jump to

Keyboard shortcuts

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