quic

package module
v0.0.0-...-42799e3 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient

func NewClient(ctx *gonet.Context, options ...Option) gonet.IClient

func NewServer

func NewServer(ctx *gonet.Context, options ...Option) gonet.IServer

func SessionType

func SessionType() reflect.Type

Types

type Option

type Option func(*option)

func WithChannelIdModulo

func WithChannelIdModulo(mod uint32) Option

Channel id modulo

func WithHandshakeTimeout

func WithHandshakeTimeout(t time.Duration) Option

func WithMaximumTransmissionUnit

func WithMaximumTransmissionUnit(unit int) Option

set maximum transmission unit

Jump to

Keyboard shortcuts

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