bludgeonclientcli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2021 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ArgCommand          string = "command"
	ArgAddress          string = "address"
	ArgPort             string = "port"
	ArgObjectType       string = "type"
	ArgMetaType         string = "meta"
	ArgClientType       string = "remote"
	ArgTimer            string = "timer"
	ArgTimerID          string = "id"
	ArgTimerStart       string = "start"
	ArgTimerFinish      string = "finish"
	ArgTimerComment     string = "comment"
	DefaultCommand      string = ""
	DefaultAddress      string = "127.0.0.1"
	DefaultPort         string = "8080"
	DefaultObjectType   string = ""
	DefaultMetaType     string = ""
	DefaultClientType   string = ""
	DefaultTimerID      string = ""
	DefaultTimerStart   int64  = 0
	DefaultTimerFinish  int64  = 0
	DefaultTimerComment string = ""
	UsageCommand        string = "Command for operation to attempt"
	UsageAddress        string = "Address to connect to"
	UsagePort           string = "Port to connect to"
	UsageObjectType     string = "Type of object"
	UsageMetaType       string = "Type of meta"
	UsageClientType     string = "Type of remote"
	UsageTimerID        string = "ID for the timer"
	UsageTimerStart     string = "Timer start time"
	UsageTimerFinish    string = "Timer finish time"
	UsageTimerComment   string = "Comment for the timer"
)

arguments

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Command    string          //command
	Address    string          //address
	Port       string          //port
	MetaType   meta.Type       //meta type
	ClientType client.Type     //client type
	ObjectType data.ObjectType //object type
	Timer      data.Timer      //timer object
	TimeSlice  data.TimeSlice  //time slice object
}

func Parse

func Parse(pwd string, args []string, envs map[string]string) (o Options, err error)

Jump to

Keyboard shortcuts

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