package
0.1.6
Repository: https://github.com/supergiant-hq/xnet.git
Documentation: pkg.go.dev

# README

UDP

Provides two sub-packages

  • udps (UDP Server)
  • udpc (UDP Client)

Examples

# Packages

Package udpc provides functionality to create a UDP Client.
Package udps provides functionality to create a UDP Server.

# Functions

HandleStream wraps the quic.Stream and provides useful functionality to manage it.
Wraps a channel into a Stream and initializes it.
Wraps a channel into a Stream and does not initialize it This function should be used when the stream is already initialized.

# Variables

No description provided by the author

# Structs

Stream holds the configuration related to a single Stream.

# Interfaces

Client Interface stipulates functions which should be present in a client.

# Type aliases

On New Stream Handler.