Versions in this module Expand all Collapse all v0 v0.2.0 Dec 6, 2022 v0.1.0 Dec 2, 2022 Changes in this version + const DEFAULT_TIMEOUT + var ErrServerStopped = errors.New("server stopped") + var ErrUnknownAction = errors.New("unknown action") + type Server struct + func NewServer(serverAddr config.ServerAddr, protocolManager *protocol.ProtocolManager, ...) *Server + func (s *Server) HandleNextConn(ctx context.Context) error + func (s *Server) Start() error + func (s *Server) Stop() error + type ServerMode uint8 + const SERVER_MODE_UNLIMITED + const SERVER_MODE_WORKER