Documentation
¶
Index ¶
- type DebugTools
- func (self *DebugTools) HeapDump() (string, error)
- func (self *DebugTools) LogList() ([]string, error)
- func (self *DebugTools) LogRemove(filename string) error
- func (self *DebugTools) LogSize(filename string) (int64, error)
- func (self *DebugTools) LogSlice(filename string, index, size int64) ([]byte, error)
- func (self *DebugTools) StartCPUProfile() (string, error)
- func (self *DebugTools) StopCPUProfile()
- func (self *DebugTools) WriteHeapProfile() (string, error)
- type DebugToolsOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebugTools ¶
type DebugTools struct {
// contains filtered or unexported fields
}
func NewDebugTools ¶
func NewDebugTools(options *DebugToolsOptions) (*DebugTools, error)
func (*DebugTools) HeapDump ¶
func (self *DebugTools) HeapDump() (string, error)
func (*DebugTools) LogList ¶
func (self *DebugTools) LogList() ([]string, error)
func (*DebugTools) LogRemove ¶
func (self *DebugTools) LogRemove(filename string) error
func (*DebugTools) LogSlice ¶
func (self *DebugTools) LogSlice(filename string, index, size int64) ([]byte, error)
func (*DebugTools) StartCPUProfile ¶
func (self *DebugTools) StartCPUProfile() (string, error)
func (*DebugTools) StopCPUProfile ¶
func (self *DebugTools) StopCPUProfile()
func (*DebugTools) WriteHeapProfile ¶
func (self *DebugTools) WriteHeapProfile() (string, error)
type DebugToolsOptions ¶
Click to show internal directories.
Click to hide internal directories.