yggquic

package module
v0.0.0-...-062b34d Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MPL-2.0 Imports: 11 Imported by: 5

README

QUIC over Yggdrasil

This package allows you to set up QUIC sessions natively over the Yggdrasil Network. This is in place of using a TUN adapter or IPv6 and allows Yggdrasil-native applications to be built easily.

See yggquic_test.go for example usage.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YggdrasilTransport

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

func New

func New(ygg *core.Core, cert tls.Certificate, qc *quic.Config) (*YggdrasilTransport, error)

func (*YggdrasilTransport) Accept

func (t *YggdrasilTransport) Accept() (net.Conn, error)

func (*YggdrasilTransport) Addr

func (t *YggdrasilTransport) Addr() net.Addr

func (*YggdrasilTransport) Close

func (t *YggdrasilTransport) Close() error

func (*YggdrasilTransport) Dial

func (t *YggdrasilTransport) Dial(network, host string) (net.Conn, error)

func (*YggdrasilTransport) DialContext

func (t *YggdrasilTransport) DialContext(ctx context.Context, network, host string) (net.Conn, error)

Jump to

Keyboard shortcuts

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