tcp

package
v1.13.6 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 14 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