listener

package
v0.74.7 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: BSD-3-Clause, AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn added in v0.68.0

type Conn interface {
	Read(ctx context.Context, b []byte) (n int, err error)
	Write(ctx context.Context, b []byte) (n int, err error)
	RemoteAddr() net.Addr
	Close() error
	// Protocol returns the transport name.
	Protocol() string
}

Conn is the relay connection contract implemented by WS and QUIC transports.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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