ssh

package
v0.0.0-...-39da880 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SSH

func SSH(responseWriter http.ResponseWriter, request *http.Request)

SSH

Types

type Message

type Message struct {
	Success    string `json:"success"`
	Message    string `json:"message"`
	StatusCode int    `json:"statuscode"`
}

type Output

type Output struct {
	Output     string `json:"standardOutput"`
	Error      string `json:"standardError"`
	ReturnCode int    `json:"returnCode"`
}

type SSHArguments

type SSHArguments struct {
	Command  string `json:"command,omitempty"`
	Username string `json:"username,omitempty"`
	Password string `json:"password,omitempty"`
	Host     string `json:"host,omitempty"`
	Port     string `json:"port,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL