cli

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidCommand = fmt.Errorf("invalid command")
	ErrDisconnected   = fmt.Errorf("disconnected")
)

Errors.

Functions

func Start

func Start() error

Start gets the app going.

Types

type Config

type Config struct {
	UseSSL bool
	User   string
	Pass   string
	URL    string
	Cmd    string
	Arg    string
	Server *securityspy.Server
}

Config represents the CLI args + securityspy.Server.

Jump to

Keyboard shortcuts

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