tools

package
v0.0.0-...-7b65578 Latest Latest
Warning

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

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

Documentation

Overview

Project: TCQ Network Protocol (Thread Controlled QUIC)
Author: Trần Nguyên Hiền (c)
Major: Electronic And Communication Engineering
Email: trannguyenhien29085@gmail.com
Date: 2/3/2026
MIT Licence

----------------------------------------------------------------

Project: TCQ Network Protocol (Thread Controlled QUIC)
Author: Trần Nguyên Hiền (c)
Major: Electronic And Communication Engineering
Email: trannguyenhien29085@gmail.com
Date: 2/3/2026
MIT Licence

----------------------------------------------------------------

Index

Constants

View Source
const ALPN = "quic-go integration tests"

Variables

This section is empty.

Functions

func GenerateCA

func GenerateCA() (*x509.Certificate, crypto.PrivateKey, error)

func GenerateLeafCert

func GenerateLeafCert(ca *x509.Certificate, caPriv crypto.PrivateKey) (*x509.Certificate, crypto.PrivateKey, error)

func GenerateTLSConfigWithLongCertChain

func GenerateTLSConfigWithLongCertChain(ca *x509.Certificate, caPrivateKey crypto.PrivateKey) (*tls.Config, error)

GenerateTLSConfigWithLongCertChain generates a tls.Config that uses a long certificate chain. The Root CA used is the same as for the config returned from getTLSConfig().

func NewQlogConnectionTracer

func NewQlogConnectionTracer(logger io.Writer) func(ctx context.Context, isClient bool, connID quic.ConnectionID) qlogwriter.Trace

func QlogTracer

func QlogTracer(logger io.Writer) qlogwriter.Trace

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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