Versions in this module Expand all Collapse all v1 v1.0.4 Jun 30, 2023 v1.0.3 Jun 13, 2023 Changes in this version + func ListenAndServe(listener net.Listener, handler tcpIF.Handler, closeChan <-chan struct{}) + func ListenAndServeBySignal(cfg *Config, handler tcpIF.Handler) error + type Config struct + Address string + type ReplyClient struct + Conn net.Conn + Waiting wait.Wait + func (r *ReplyClient) Close() error + type TcpReplyHandler struct + func NewHandler() *TcpReplyHandler + func (t *TcpReplyHandler) Close() error + func (t *TcpReplyHandler) Handle(ctx context.Context, conn net.Conn)