utils

package
v1.3.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultProcessorName added in v1.3.2

func DefaultProcessorName() string

DefaultProcessorName provides a generic processor name derived from the build architecture (e.g. "Loong64 Processor"). It is used when the real CPU model can neither be detected nor read from the configuration, so the status page always shows something meaningful instead of an empty field.

func PrettierArchName added in v1.3.2

func PrettierArchName() string

PrettierArchName provides a prettier name for the CPU architecture this binary was built for. Unknown architectures fall back to the raw GOARCH value.

func PrettierOSName

func PrettierOSName() string

PrettierOSName provides a prettier OS name

Types

This section is empty.

Jump to

Keyboard shortcuts

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