Documentation ¶
Index ¶
- Variables
- func Exit()
- func LoudPanic(x interface{})
- func Setup(ctx *cli.Context) error
- type HandlerT
- func (*HandlerT) BacktraceAt(location string) error
- func (*HandlerT) BlockProfile(file string, nsec uint) error
- func (h *HandlerT) CpuProfile(file string, nsec uint) error
- func (*HandlerT) FreeOSMemory()
- func (*HandlerT) GcStats() *debug.GCStats
- func (h *HandlerT) GoTrace(file string, nsec uint) error
- func (*HandlerT) MemStats() *runtime.MemStats
- func (*HandlerT) MutexProfile(file string, nsec uint) error
- func (*HandlerT) SetBlockProfileRate(rate int)
- func (*HandlerT) SetGCPercent(v int) int
- func (*HandlerT) SetMutexProfileFraction(rate int)
- func (*HandlerT) Stacks() string
- func (h *HandlerT) StartCPUProfile(file string) error
- func (h *HandlerT) StartGoTrace(file string) error
- func (h *HandlerT) StopCPUProfile() error
- func (h *HandlerT) StopGoTrace() error
- func (*HandlerT) Verbosity(level int)
- func (*HandlerT) Vmodule(pattern string) error
- func (*HandlerT) WriteBlockProfile(file string) error
- func (*HandlerT) WriteMemProfile(file string) error
- func (*HandlerT) WriteMutexProfile(file string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Flags = []cli.Flag{
verbosityFlag, vmoduleFlag, backtraceAtFlag, debugFlag,
pprofFlag, pprofAddrFlag, pprofPortFlag,
memprofilerateFlag, blockprofilerateFlag, cpuprofileFlag, traceFlag,
}
View Source
var Handler = new(HandlerT)
Functions ¶
Types ¶
type HandlerT ¶
type HandlerT struct {
// contains filtered or unexported fields
}
func (*HandlerT) BacktraceAt ¶
func (*HandlerT) FreeOSMemory ¶
func (*HandlerT) FreeOSMemory()
func (*HandlerT) SetBlockProfileRate ¶
func (*HandlerT) SetGCPercent ¶
func (*HandlerT) SetMutexProfileFraction ¶
func (*HandlerT) StartCPUProfile ¶
func (*HandlerT) StartGoTrace ¶
func (*HandlerT) StopCPUProfile ¶
func (*HandlerT) StopGoTrace ¶
func (*HandlerT) WriteBlockProfile ¶
func (*HandlerT) WriteMemProfile ¶
func (*HandlerT) WriteMutexProfile ¶
Click to show internal directories.
Click to hide internal directories.