Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessInfo ¶
type ProcessInfo struct { ID uint64 `gorm:"primary_key"` Timestamp time.Time `gorm:"index;not null"` AppName string `gorm:"index;not null"` Hostname string `gorm:"index;not null"` PID int `gorm:"not null"` MemAlloc uint64 `gorm:"not null"` MemTotalAlloc uint64 `gorm:"not null"` MemSys uint64 `gorm:"not null"` MemLookups uint64 `gorm:"not null"` NumCPU uint64 `gorm:"not null"` NumGoroutine uint64 `gorm:"not null"` NumCgoCall uint64 `gorm:"not null"` CPUUsage float64 `gorm:"not null"` }
func (*ProcessInfo) Decode ¶
func (p *ProcessInfo) Decode(data []byte) error
func (*ProcessInfo) Encode ¶
func (p *ProcessInfo) Encode() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.