winrm

package
v6.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 License: MIT Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Remoter

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

func New

func New(host string, port int, username, password string) (*Remoter, error)

func (*Remoter) Close

func (r *Remoter) Close() error

func (*Remoter) DownloadFile

func (r *Remoter) DownloadFile(path string) ([]byte, error)

func (*Remoter) RunCommand

func (r *Remoter) RunCommand(command string, output io.Writer) (int32, error)

func (*Remoter) UploadFile

func (r *Remoter) UploadFile(path string, data []byte) (bool, error)

Jump to

Keyboard shortcuts

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