package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Feb 22, 2022
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func NewCapture(captureIntervalSec int) *capture
type Info struct {
Timestamp int64
Sys uint64 `json:"sys"`
HeapSys uint64 `json:"heapsys"`
HeapAlloc uint64 `json:"heapalloc"`
HeapInuse uint64 `json:"heapinuse"`
HeapReleased uint64 `json:"heapreleased"`
HeapIdle uint64 `json:"heapidle"`
VMS uint64 `json:"vms"`
}
type ModOption func(option *Option)
type Option struct {
CaptureIntervalSec int
DumpDir string
ServiceName string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.