Help us shape the future of Go! Take the 2026 Go Developer Survey

systemstats

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service shares short-lived, on-demand samples between all statistics viewers. It does no background work when there are no viewers.

func NewService

func NewService(ctx context.Context) *Service

func (*Service) Get

func (s *Service) Get(ctx context.Context) (*model.SystemStats, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL