server

package
v0.0.0-...-82b4563 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeClient

func ServeClient(cNet net.Conn, factory func(c *proto.Conn) (h any, err error)) (err error)

func Servee

func Servee(c net.Conn) (ret *proto.Conn)

func StartServerWithFactory

func StartServerWithFactory(listenAddr string, factory func(c *proto.Conn) (h any, err error)) (err error)

func StartServerWithOnConn

func StartServerWithOnConn(listenAddr string, onConn func(c *proto.Conn) (err error)) (err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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