shellio

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Println

func Println(format string, a ...interface{})

Types

type AgentCmdArgs

type AgentCmdArgs struct {
	Host          *string  `short:"h" long:"host" description:"Agent server host" default:"0.0.0.0"`
	Port          *uint    `short:"p" long:"port" description:"Agent server port" default:"17779"`
	DirectCommand *string  `short:"d" long:"default-command" description:"The command string that will be executed directly"`
	ConfigPath    *string  `short:"c" long:"config" description:"Explicit configuration file"`
	StaticPath    []string `short:"s" long:"static-path" description:"Path of static web resources"`
	Verbose       []bool   `short:"v" long:"verbose" description:"Show verbose debug information"`
}

func ParseArgs

func ParseArgs() (AgentCmdArgs, error)

func (*AgentCmdArgs) AgentServerOptions added in v1.0.5

func (a *AgentCmdArgs) AgentServerOptions() *services.ServerOptions

Jump to

Keyboard shortcuts

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