tool

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Sep     = " "
	HTTPTpl = "-http=0.0.0.0:%d"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ArgPprofX

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

func (ArgPprofX) AppendEnv

func (pa ArgPprofX) AppendEnv(s []string) []string

func (*ArgPprofX) SetFile

func (ca *ArgPprofX) SetFile(file string)

func (*ArgPprofX) SetPort

func (ca *ArgPprofX) SetPort(port int)

type ArgTraceX

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

func (ArgTraceX) AppendEnv

func (at ArgTraceX) AppendEnv(s []string) []string

func (*ArgTraceX) SetFile

func (ca *ArgTraceX) SetFile(file string)

func (*ArgTraceX) SetPort

func (ca *ArgTraceX) SetPort(port int)

type Tool

type Tool interface {
	Command() string
	Arg() arg
}

func NewTool

func NewTool(name string) Tool

Jump to

Keyboard shortcuts

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