Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSSHServer ¶
type MockSSHServer struct {
User string
Password string
Config *cryptoSSH.ServerConfig
// contains filtered or unexported fields
}
func NewMockServer ¶
func NewMockServer(user, pass string, privateKey []byte) (*MockSSHServer, error)
func (*MockSSHServer) Start ¶
func (s *MockSSHServer) Start() (int, error)
func (*MockSSHServer) Stop ¶
func (s *MockSSHServer) Stop()
Click to show internal directories.
Click to hide internal directories.