server

package
v0.0.0-...-c45527a Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QuicServer

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

QuicServer represents QUIC server.

func NewQuicServer

func NewQuicServer() (*QuicServer, error)

NewQuicServer creates new QUIC server.

func (*QuicServer) Close

func (s *QuicServer) Close() error

Close closes QUIC server.

func (*QuicServer) CommunicationConn

func (s *QuicServer) CommunicationConn(ctx context.Context) (*streams.QuicConnection, error)

CommunicationConn returns communication connection.

func (*QuicServer) Start

func (s *QuicServer) Start(ctx context.Context) error

Start starts QUIC server.

func (*QuicServer) TransportConn

func (s *QuicServer) TransportConn(ctx context.Context) (*streams.QuicConnection, error)

TransportConn returns transport connection.

func (*QuicServer) WaitForListenPort

func (s *QuicServer) WaitForListenPort(ctx context.Context) (string, error)

WaitForListenPort waits for listen port.

Jump to

Keyboard shortcuts

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