client

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(client *Client, sudo bool, command, content string) (string, string, error)

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

type Conn

type Conn struct {
	Host       string
	Port       int
	User       string
	Password   string
	PrivateKey string
	UseSudo    bool
}

func (*Conn) Client

func (c *Conn) Client() (*Client, error)

Jump to

Keyboard shortcuts

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