Versions in this module Expand all Collapse all v1 v1.0.0 Apr 2, 2023 Changes in this version + func ListendAndServe(addr string, options Options, rh *redHub) error + func NewRedex(onOpened func(c *Conn) (out []byte, action Action), ...) *redHub + type Action int + const Close + const None + const Shutdown + type Conn struct + type Options struct + Codec gnet.ICodec + LB gnet.LoadBalancing + LockOSThread bool + Multicore bool + NumEventLoop int + ReadBufferCap int + ReusePort bool + SocketRecvBuffer int + SocketSendBuffer int + TCPKeepAlive time.Duration + TCPNoDelay gnet.TCPSocketOpt + Ticker bool