Versions in this module Expand all Collapse all v1 v1.0.0 Oct 8, 2019 Changes in this version + const ProfileTypeCPU + const ProfileTypeHeap + var ErrNoProfile = errors.New("no specified profile, please create a cpu or memory profile first.") + func AddCommand(cmd string, format int, post PostProcessor, desc, usage string) + func NewWebHandler(prefix, path string) *webHandler + func PProf(eo *plugin.Options) error + func SetVariableDefault(variable, value string) + type GoFlags struct + UsageMsgs []string + func (*GoFlags) Bool(o string, d bool, c string) *bool + func (*GoFlags) BoolVar(b *bool, o string, d bool, c string) + func (*GoFlags) Float64(o string, d float64, c string) *float64 + func (*GoFlags) Float64Var(f *float64, o string, d float64, c string) + func (*GoFlags) Int(o string, d int, c string) *int + func (*GoFlags) IntVar(i *int, o string, d int, c string) + func (*GoFlags) Parse(usage func()) []string + func (*GoFlags) String(o, d, c string) *string + func (*GoFlags) StringList(o, d, c string) *[]*string + func (*GoFlags) StringVar(s *string, o, d, c string) + func (f *GoFlags) AddExtraUsage(eu string) + func (f *GoFlags) ExtraUsage() string + type PostProcessor func(input io.Reader, output io.Writer, ui plugin.UI) error