Versions in this module Expand all Collapse all v0 v0.17.0 Apr 30, 2024 v0.16.0 Nov 9, 2023 Changes in this version + func NewMockClient(handler SessionHandler) *ssh.Client + type Session struct + Env []string + Exec string + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer + func (s *Session) Close() error + func (s *Session) Exit(code int) error + type SessionHandler func(session *Session)