Documentation
¶
Index ¶
- func ServeClient(cNet net.Conn, factory func(c *proto.Conn) (h any, err error)) (err error)
- func Servee(c net.Conn) (ret *proto.Conn)
- func StartServerWithFactory(listenAddr string, factory func(c *proto.Conn) (h any, err error)) (err error)
- func StartServerWithOnConn(listenAddr string, onConn func(c *proto.Conn) (err error)) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServeClient ¶
func StartServerWithFactory ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.