Versions in this module Expand all Collapse all v1 v1.6.2 Mar 17, 2020 v1.6.1 Mar 17, 2020 v1.0.1 Mar 12, 2020 Changes in this version + const DefaultPort + var NoOpLogger = func(string, ...interface{}) + type Config struct + CertFile string + DisableOutput bool + Hostname string + KeyFile string + Password string + Port int + Username string + WorkingDir string + func DefaultConfig() Config + type Editor struct + func New(cfg ...Config) *Editor + func (e *Editor) Dir(workingDir string) *Editor + func (e *Editor) DisableOutput() + func (e *Editor) GetDescription() string + func (e *Editor) Port(port int) *Editor + func (e *Editor) Run(logger func(format string, a ...interface{})) + func (e *Editor) SetEnable(enable bool) + func (e *Editor) Stop() + func (e *Editor) User(username string, password string) *Editor