robot

package
v0.0.0-...-75717be Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2018 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Robot

type Robot struct {
	Name string
	Host string
}

func FromJson

func FromJson(str string) Robot

func InitRobot

func InitRobot(name string, ip string) *Robot

func (*Robot) Backup

func (r *Robot) Backup(filter func(filename string) bool, destination string, wg *sync.WaitGroup)

func (*Robot) SetHost

func (r *Robot) SetHost(host string)

func (*Robot) SetName

func (r *Robot) SetName(name string)

func (*Robot) ToJson

func (r *Robot) ToJson() string

Jump to

Keyboard shortcuts

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