console

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 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()

func Init

func Init()

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 Agent

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

func (*Agent) HandleMsg

func (a *Agent) HandleMsg(data []byte)

func (*Agent) OnClose

func (a *Agent) OnClose()

type Command

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

type CommandCPUProf

type CommandCPUProf struct{}

cpuprof

type CommandHelp

type CommandHelp struct{}

help

type CommandProf

type CommandProf struct{}

prof

type ExternalCommand

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

Jump to

Keyboard shortcuts

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