udp

package
v1.13.4 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidAddress  = fmt.Errorf("invalid listen address")
	ErrInvalidHostName = fmt.Errorf("invalid server host name")
	ErrInvalidHostPort = fmt.Errorf("invalid server host port")
	ErrContextClosed   = fmt.Errorf("context closed")
	ErrServerClosed    = fmt.Errorf("server closed")
)

Functions

This section is empty.

Types

type ServerTcp

type ServerTcp interface {
	libsck.Server
	RegisterServer(address string) error
}

func New

func New(h libsck.Handler, sizeBuffRead libsiz.Size) ServerTcp

Jump to

Keyboard shortcuts

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