console

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Destroy

func Destroy()

Destroy Destroy

func Init

func Init()

Init Init

func Register

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

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

Types

type Agent

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

Agent Agent

func (*Agent) OnClose

func (a *Agent) OnClose()

OnClose OnClose

func (*Agent) Run

func (a *Agent) Run()

Run Run

type Command

type Command interface {
	// contains filtered or unexported methods
}

Command Command

type CommandCPUProf

type CommandCPUProf struct{}

CommandCPUProf cpuprof

type CommandHelp

type CommandHelp struct{}

CommandHelp help

type CommandProf

type CommandProf struct{}

CommandProf prof

type ExternalCommand

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

ExternalCommand ExternalCommand

Jump to

Keyboard shortcuts

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