Versions in this module Expand all Collapse all v0 v0.0.2 Jun 14, 2026 Changes in this version + const DefaultCommandNotFound + const DefaultExitCommand + const DefaultExitMessage + const DefaultPrompt + const DefaultWelcomeMessage + type AuthHandler func(session *telnet.Session) bool + func NewAuthHandler(username string, password string, maxAttempts int) AuthHandler + type Command struct + Regex string + Response string + type Handler func(command string) string + type Server struct + AuthHandler AuthHandler + Commands []Command + GenericHandler Handler + Version string + func (s *Server) HandlerFunc(session *telnet.Session)