Versions in this module Expand all Collapse all v0 v0.1.0 Oct 1, 2026 Changes in this version + type Darwin struct + VirtualMemoryFn func() (*mem.VirtualMemoryStat, error) + func NewDarwinProvider() *Darwin + func (d *Darwin) GetStats() (*Result, error) + type Debian struct + VirtualMemoryFn func() (*mem.VirtualMemoryStat, error) + func NewDebianProvider() *Debian + func (u *Debian) GetStats() (*Result, error) + type Linux struct + func NewLinuxProvider() *Linux + func (l *Linux) GetStats() (*Result, error) + type Provider interface + GetStats func() (*Result, error) + type Result struct + Available uint64 + Cached uint64 + Changed bool + Free uint64 + Total uint64