Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct {
// contains filtered or unexported fields
}
func NewWareInfo ¶
func NewWareInfo(option *WareInfoOption) *Info
type InfoView ¶
type InfoView struct { Pid int `json:"pid"` CpuPercent float64 `json:"cpu_percent"` MemPercent float32 `json:"mem_percent"` MemAlloc uint64 `json:"mem_alloc"` MemUsed uint64 `json:"mem_used"` KeysTotal int `json:"keys_total"` TableType string `json:"table_type"` }
func GetWareInfo ¶
func GetWareInfo() *InfoView
type WareInfoOption ¶
type WareInfoOption struct {
FreshFrequency uint `yaml:"FreshFrequency"`
}
func DefaultWareInfoOption ¶
func DefaultWareInfoOption() *WareInfoOption
Click to show internal directories.
Click to hide internal directories.