package
Version:
v1.4.1
Opens a new window with list of versions in this module.
Published: Nov 16, 2022
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
stat
统计系统和进程的cpu和内存信息。
使用示例
l, _ := zap.NewDevelopment()
stat.Init(
WithLog(l),
WithPrintInterval(time.Minute),
)
Documentation
¶
type Option func(*options)
Option set the options field.
WithPrintInterval set print interval
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.