Versions in this module Expand all Collapse all v2 v2.0.1 Apr 22, 2026 v2.0.0 Apr 22, 2026 Changes in this version + var CommonChanCap = 128 + func MkEpoll() (*epoll, error) — darwin/amd64, linux/amd64 + func SendMsgToClient(msg []byte, conn net.Conn) error + type Server struct + AddCli func(w http.ResponseWriter, r *http.Request) + Bind string + MsgHandler func(*Server, net.Conn, []byte, ws.OpCode) error + Path string + func NewServer(bind, path string) (s *Server, err error) + func (s *Server) AddConnection(conn net.Conn) error + func (s *Server) Start() + func (s *Server) Stop() Other modules containing this package github.com/GuanceCloud/cliutils