Versions in this module Expand all Collapse all v0 v0.0.2 Aug 23, 2023 Changes in this version + var ErrNotEnabled = errors.New("not enabled") + var ErrTimeout = errors.New("timeout") + type ClientDriver struct + type Server struct + func NewServer(config *config.Config, logger log.Logger) (*Server, error) + func (s *Server) AuthUser(cc serverlib.ClientContext, user, pass string) (serverlib.ClientDriver, error) + func (s *Server) ClientConnected(cc serverlib.ClientContext) (string, error) + func (s *Server) ClientDisconnected(cc serverlib.ClientContext) + func (s *Server) GetSettings() (*serverlib.Settings, error) + func (s *Server) GetTLSConfig() (*tls.Config, error) + func (s *Server) Stop() + func (s *Server) WaitGracefully(timeout time.Duration) error