auto

package
v4.4.3 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package auto does automatic detection and runtime configuration for certain environments.

All top-level functions are not safe to call concurrently.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CPU

func CPU()

CPU guesses a good number for GOMAXPROCS based on information gleaned from the current process's cgroup.

func PrintLogs

func PrintLogs(ctx context.Context)

PrintLogs uses zlog to report any messages queued up from the runs of functions since the last call to PrintLogs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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