Versions in this module Expand all Collapse all v0 v0.0.3 Apr 8, 2021 Changes in this version + var DefaultConsoleParserWrapper = NewConsoleParserWrapper() + var State *terminal.State + func CheckAndPrintUsageGuide() + func Exit(n int) + func NewConsoleParserWrapper() prompt.ConsoleParser + func Reset() + type ConsoleParserWrapper struct + func (w *ConsoleParserWrapper) Setup() error + func (w *ConsoleParserWrapper) TearDown() error v0.0.2 Apr 7, 2021 Changes in this version + func DoFirstPage(*prompt.Buffer) + func DoLastPage(*prompt.Buffer) + func DoNextPage(*prompt.Buffer) + func DoPrevPage(*prompt.Buffer) v0.0.1 Apr 7, 2021 Changes in this version + const Version + var Cfg = NewConfig() + var CommandSuggests = []prompt.Suggest + var KeyHandlers = map[prompt.Key]prompt.KeyBindFunc + func CheckAndPrintVersion() + func ClearScreen() + func Completer(doc prompt.Document) []prompt.Suggest + func Connect(s *Server) error + func DoEnter(*prompt.Buffer) + func DoExit(*prompt.Buffer) + func DoMakeLivePrefix() (string, bool) + func Echo(format string, args ...interface{}) + func EchoAndExit(format string, args ...interface{}) + func Error(format string, args ...interface{}) + func ErrorAndExit(format string, args ...interface{}) + func Executor(input string) + func Options() []prompt.Option + func ShowTitle() + func ShowUsageGuide() + type Config struct + Auth ssh.AuthMethod + AutoClear bool + Group string + Page int + PageSize int + Password string + PrivateKey string + Servers []*Server + SortBy string + func NewConfig() *Config + func (c *Config) AllList() []*Server + func (c *Config) Init() error + func (c *Config) NextPage() + func (c *Config) PageList() []*Server + func (c *Config) PrevPage() + func (c *Config) ShowSummary() + func (c *Config) Summary(list []*Server) []string + type Server struct + Addr string + Auth ssh.AuthMethod + Desc string + Group string + Host string + Name string + Password string + Port int + PrivateKey string + User string