command

package
v0.0.0-...-d363034 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, help string, f interface{}, server *chanrpc.Server)

you must call the function before calling console.Init goroutine not safe

Types

type CloseCommand

type CloseCommand struct {
	CloseSignal chan<- os.Signal
}

func (*CloseCommand) Help

func (command *CloseCommand) Help() string

func (*CloseCommand) Name

func (command *CloseCommand) Name() string

func (*CloseCommand) Run

func (command *CloseCommand) Run([]string) string

type CpuProfCommand

type CpuProfCommand struct{}

func (*CpuProfCommand) Help

func (command *CpuProfCommand) Help() string

func (*CpuProfCommand) Name

func (command *CpuProfCommand) Name() string

func (*CpuProfCommand) Run

func (command *CpuProfCommand) Run(args []string) string

type ExternalCommand

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

func (*ExternalCommand) Help

func (command *ExternalCommand) Help() string

func (*ExternalCommand) Name

func (command *ExternalCommand) Name() string

func (*ExternalCommand) Run

func (command *ExternalCommand) Run(_args []string) string

type HelpCommand

type HelpCommand struct{}

func (*HelpCommand) Help

func (command *HelpCommand) Help() string

func (*HelpCommand) Name

func (command *HelpCommand) Name() string

func (*HelpCommand) Run

func (command *HelpCommand) Run([]string) string

type ProfCommand

type ProfCommand struct{}

func (*ProfCommand) Help

func (command *ProfCommand) Help() string

func (*ProfCommand) Name

func (command *ProfCommand) Name() string

func (*ProfCommand) Run

func (command *ProfCommand) Run(args []string) string

Jump to

Keyboard shortcuts

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