Documentation ¶ Index ¶ type System func New() *System func (system *System) AmountMemoryUsed(ctx context.Context) (float64, error) func (system *System) Name() string func (system *System) NumCpusUsed(ctx context.Context, pollInterval time.Duration) (float64, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type System ¶ type System struct{} func New ¶ func New() *System func (*System) AmountMemoryUsed ¶ func (system *System) AmountMemoryUsed(ctx context.Context) (float64, error) func (*System) Name ¶ added in v1.72.0 func (system *System) Name() string func (*System) NumCpusUsed ¶ func (system *System) NumCpusUsed(ctx context.Context, pollInterval time.Duration) (float64, error) Source Files ¶ View all Source files system.go Click to show internal directories. Click to hide internal directories.