tcp

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: MIT Imports: 11 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, sizeBuffWrite int32) ServerTcp

Jump to

Keyboard shortcuts

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