Versions in this module Expand all Collapse all v0 v0.1.1 Nov 21, 2025 Changes in this version type CLI + func NewCLIWithConfig(term Terminal, config *Config) *CLI + type Config struct + Compression string + ConnMaxLifetime time.Duration + Database string + DialTimeout time.Duration + Host string + MaxIdleConns int + MaxOpenConns int + Params map[string]string + Password string + Port int + ReadTimeout time.Duration + Secure bool + SkipVerify bool + Username string + WriteTimeout time.Duration + type ReadWriteCloser struct + func (rwc *ReadWriteCloser) Close() error type Reader + func (r *Reader) SetPrompt(prompt string) v0.1.0 Nov 21, 2025 Changes in this version + type CLI struct + func NewCLI(term Terminal, host string, port int, username, password, database string) *CLI + func (c *CLI) Close() error + func (c *CLI) Connect() error + func (c *CLI) Start() error + type Reader struct + func NewReader(term Terminal) *Reader + func (r *Reader) Close() error + func (r *Reader) ReadLine() (string, error) + type ServerInfo struct + BuildType string + Uptime int64 + Version string + type Terminal interface