server

package
v0.0.0-...-4c537c0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(addr string) error

Start a server that echos all data on the first stream opened by the client

Types

type Stream

type Stream struct {
	quic.Stream
}

func (Stream) LocalAddr

func (Stream) LocalAddr() net.Addr

func (Stream) RemoteAddr

func (Stream) RemoteAddr() net.Addr

Jump to

Keyboard shortcuts

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